luckywebs
Forum Replies Created
-
Forum: Plugins
In reply to: [Secure HTML5 Video Player] Embedding videos from Amazon S3 not workingc_srishti,
You should provide more information. There are several options as well as S3 settings in your account, not to mention the URL’s you have added.You must explain what you have done so far step by step. Then someone can help you a bit more.
Forum: Reviews
In reply to: [Google Universal Analytics] Fix the Save button in Custom Tracker sectionI have installed the plugin and this time everything works but the status button is suddenly 501px in height! Also I see this message a the top:
require “woo_code.php”;
The above message shows even if I deactivate “Enable Woocommerce e-commerce tracking”
Forum: Plugins
In reply to: [Secure HTML5 Video Player] Embedding videos from Amazon S3 not workingAfter spending countless hours I’ve managed to work it out and hope this helps you all.
To keep things simple, say you have the following details:
created a bucket in your amazon S3 called luckywebsThe folder created inside this bucket is called videos
You have uploaded your video called embedding-videos-from-amazon.mp4 inside the videos folder. Your video format is mp4.
But wait. Did you use handbrake (free video conversion software) to change the mp4 encoding to h.264. For example I recorded a screencast for a remote client and it was for 20 minutes (high definition). It was 334MB (way too big). After using handbrake it came down to 34MB.
Based on the above your full path would be https://whateverserverlocation.amazonaws.com/luckywebs/videos/embedding-videos-from-amazon.mp4
As Uzmas mentioned, adding this URL defeats the purpose. So here’s what you do:
Check that the following areas in the Secure HTML Video Editor Settings page are as below:
Security (Tab 1)
Video Directory
Leave this emptySecure seed
Generate a new seed and hit “Save the options button”S3 Settings (Tab 3)
Enable Simple Storage Service
Place a tick beside this optionS3 Server
Select the relevant server. Go to your Amazon AWS page and check which server location you have chosen when uploading your video. (Last thing you need is to select Ireland when you have uploaded your video to a server in Tokyo.)Access Key
Get these by clicking your username in your Amazon AWS page (top right of that page) select Security Credentials and either create a new access key as it then shows you the secret key (below).Secret Key
As aboveS3 Bucket
luckywebsS3 Video Directory
videos/S3 Media Lifespan
8 days (until you see everything’s working, then you can change this back to 8 hrs)Then hit “Save the options button”
Now go to your post/page but before you enter the following shortcode you should scroll down to the Secure HTML Video Player section. You should see the video show up in the video field. If you don’t then try clicking the empty drop down beside the video field. If you still don’t see it, read this entire post and start from the top until it works.
One you have successfully selected the video from the drop down of Video in that page, enter the following shortcode in the editor section of your page/post:
[video file="embedding-videos-from-amazon"]If you’re using a cache plugin then empty the cache (you should empty your browser cache every time you want to see any changes).
If the above still doesn’t work then make sure you select the bucket, the folder and the file individually and then check all their permission settings. Make sure you have added “View Permissions” for Everyone or Authenticated Users. During testing use Everyone and then change it.
But even then the visitors who can see the video can still download the video by right-clicking the video and select Save Video or copy Video URL. I didn’t really like that. So I added the following code just for that page (I don’t want to disable right-click on all my website pages):
<script type="text/javascript"> $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); </script>
You need to add this code to header.php of your WordPress site. But again, if you only want to prevent right-click for that video page, then you can add this JavaScript code through a layout builder plugin such as Visual Composer (by selecting add element > RawJS > pasting the code).
Good luck!
@wpgmaps Plugin Author: Your welcome. You can see that I have added a separate slide highlighting your plugin here and view today’s workshop photo here.
@ Shirley: If you really like this plugin why not post a positive review by visiting the WP Google Maps plugin page and also clicking the “Works” button (bottom right of the page) with your WordPress version. I just did because and today quite a few of my workshop attendees agreed it was a useful plugin.
Good luck in launching your site.
Glad to help. Great plugin by the way. I’ll definitely recommend it in tomorrow’s Luckywebs WordPress workshop at Google campus.
Hi Shirley,
Had a quick look at your website (interesting posts by the way!) and wanted to confirm if you were referring to the map in this post.
Instead of waiting for your reply (in case you’re anxious to know which is always the case) here’s how you can remove the London Marker:
1. Go to your WordPress admin panel aka dashboard > Maps and click on the title of your map. By default there is a title “My first map”. Assuming you added your location on this existing map, do the following:
2. click Edit (under map title) or the map title itself
3. Scroll down past the map to the section “Your Markers”.
4. The first marker under the “Your Markers” section should be the London market.
5. Click “Delete” as shown in this screenshot (red arrow)
6. Scroll up and click the blue Save Map button.
7. Return to your post where your map is and refresh this page (Command+R on a Mac or Control + R on Windows)
Let me know how you get along.
Rafi
Forum: Meetups
In reply to: WordPress Meetup Group in London (UK)Hi Szpula,
There is a workshop taking place tomorrow.
You can attend that or look at other dates from the link below:
https://www.luckywebs.co.uk/wordpress-workshops-in-london/
Kind regards,
Rafi
Forum: Meetups
In reply to: WordPress Meetup Group in London (UK)Thank you for highlighting the internal server error. Please try again.
Forum: Meetups
In reply to: WordPress Meetup Group in London (UK)Hey Jason,
Good to hear from you!
Running a free WordPress workshop on Sunday 24 Feb between 10am-12pm at Google campus, Old street.
For more details and sign up information please visit: https://www.luckywebs.co.uk/wordpress-workshop-london-feb-2013/
Hope to see you there!
Rafi
Forum: Meetups
In reply to: East of EnglandMight not be too helpful at the moment but in case you visit London feel free to attend one of the free WordPress workshops.
Sign up information: WordPress workshops London
Forum: Fixing WordPress
In reply to: How to remove broken linkForum: Fixing WordPress
In reply to: Please what should I do?Hi Habeelety,
This sort of error usually occurs when memory requirements exceed the default limit.
To change the memory limit add the line define(‘WP_MEMORY_LIMIT’, ’64M’); in wpconfig.php:
To access the file wpconfig.php file you will need FTP access to your web hosting server and open the file using Notepad++ (Windows) or TextWrangler (Mac).
Thanks songdogtech for pointing it out.
Forum: Fixing WordPress
In reply to: Password HackedHi rscafuro,
As Esmi pointed out, try the Resetting_Your_Password. This happened to me 4 years ago and back then when I followed the steps via phpMyAdmin it worked fine.
Let us know if you managed to get access.
Forum: Fixing WordPress
In reply to: Javascript Malware on site – do I need to buy Surcuri?Hi Eve84,
Were you able to find out how your site was compromised? Just did a check on Sucuri and it looked ok.
Let me know.