Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate F.A.Q/Instructions › How to encode a video so it is playable on the web
Tagged: h264, video encoding, video format
- This topic has 3 replies, 2 voices, and was last updated 12 years, 6 months ago by
wpCommerce.
-
AuthorPosts
-
February 5, 2012 at 7:50 pm #5482
perrij3
MemberHi,
I am working on setting a PPV and having issues with getting the video to autoplay. I have set up a demo page so you can see what I am talking about at [http://www.xpandconsulting.net/wp/video-test/]. The only plugins I have installed are WP estore, WP Lightbox Ultimate and Contact Form 7. The videos are being hosted with Amazon S3 and currently are not protected. All the videos that will be offered are over 100MBs in size, so having the videos start playing before they are finished caching on a viewers computer is a must.
I have included 2 videos on the demo page. The first one plays after the video has been cached on the viewers computer. The second video only plays the audio, but does not show the video (not sure why this is either). Both files are saved in the MP4 format.
I have set both the Flowplayer & HTML 5 settings under the WP Lightbox Ultimate settings to Enable & Autoplay.
Any help would be greatly appreciated.
February 6, 2012 at 4:33 am #41639wpCommerce
ModeratorVideo 1: When I opened the video my computer was receiving a massive amount of data. So I guess the video needs to be fully downloaded before the player can actually play it.
The Adobe Flash component cannot start playing a video until it gets some important information about the file. This information is normally stored at the END of a typical MP4 file, so the entire video must be downloaded so the player can read that info before it can start playing.
To solve this issue you can move the information to the beginning of the file.
There are a few free tools out there that you can use to add this fix to your videos.
– http://www.datagoround.com/lab/
– http://renaun.com/blog/code/qtindexswapper/
Video 2: I think your video has encoding issue. We’ve some users who had the same issue. Try using a H264 encoder to properly encode you video.
This post might help you solve the issue – https://support.tipsandtricks-hq.com/forums/topic/mp4-video-plays-only-audio-video-is-black
February 7, 2012 at 1:24 am #41640perrij3
MemberThanks wpCommerce, that was the issue. Everything is working great now. Thanks again!
February 7, 2012 at 1:17 pm #41641wpCommerce
ModeratorYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.