Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Encode video using a H264 encoder
Tagged: video encoding
- This topic has 4 replies, 3 voices, and was last updated 11 years, 9 months ago by loravo.
-
AuthorPosts
-
December 21, 2011 at 4:44 pm #5097vhargisMember
Hi
Link in widget I also tried on draft page.
[http://www.needcarcredit.com] link to video is on the lower right. Only have the first link temporarily placed.
using
[wp_lightbox_special_anchor_text_mp4_video link=”http://www.needcarcredit.com/video/7.mp4″ width=720 height=480 title=”Testimonial” text=”Watch Video”]
please advise
December 22, 2011 at 7:13 am #39949wpCommerceModeratorHi, I’ve also tried your video with other shortcodes (flowplayer and HTML5). None of them worked. So I’m guessing there is an issue with your video format (It’s not properly encoded to mp4 format).
To confirm this I directly embedded your video on my test site (You can also try this on your site. Please uncheck the “HTML” and “HTML5” libraries from the Lightbox Ultimate settings before you do this. That way the plugin won’t have any effect on the embed code)
<video width="400" height="300" controls="control" preload="none">
<source src="http://www.needcarcredit.com/video/7.mp4" type="video/mp4"/>
</video>And none of my HTML5 compatible browsers (Firefox, Chrome, Safari) was able to play that video.
Please note that your videos should be encoded in H.264/MPEG-4 standard. This
is the format that is widely used for distributing videos in modern days as it is the most compatible video format (video hosting sites like Youtube, Vimeo etc. use this format). If you don’t know about video formatting then you can learn more on this from here
There are some free tools out there which you can use. For example:
http://handbrake.fr/ (Recommended)
December 26, 2011 at 2:46 am #39950vhargisMemberHi
Ok I fixed that problem but now have the video looping continuously is there a setting for having it play only once.
December 26, 2011 at 5:41 am #39951wpCommerceModeratorI’m not sure what’s going on. Probably the player is not getting when to finish the video.
Anyway, we don’t recommend you to use the lightbox special shortcode. We do have a robust shortcode for MP4 video which is compatible with all major browsers (including iPad, iPhone).
In your case it would be something like –
[wp_lightbox_anchor_text_mp4_video link="http://www.needcarcredit.com/video/7.mp4" width="720" height="480" text="Watch Video"]
Note: You need to have Flowplayer and HTML5 checkboxes enabled in the settings to use this shortcode.
For more info please refer to the shortcode reference guide (MP4 Video Display section):
February 16, 2013 at 12:35 am #39952loravoMemberPlease, disregard. Problem solved and post was edited.
-
AuthorPosts
- You must be logged in to reply to this topic.