Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – MP4 video not playing
- This topic has 1 reply, 2 voices, and was last updated 12 years, 2 months ago by wpCommerce.
-
AuthorPosts
-
September 14, 2012 at 5:10 pm #7403malcrobMember
I have WP Lightbox plugin. I am trying to play a test MP4 video, from an image. The link below to the MP4 (on S3) only shows a black acreen. The one linking to the html page works, but plays the video in a web page. What am I doing wrong? I want to play the MP4 video and it to play automatically.
[wp_lightbox_special_mp4_video link=”https://s3.amazonaws.com/FDT/OFlow/Films/Test3/Test3.mp3″ width=”640″ height=”480″ source=”https://s3.amazonaws.com/FDT/QuantArb/Images/CL060712.png” title=”Video title goes here”]
[wp_lightbox_special_mp4_video link=”https://s3.amazonaws.com/FDT/OFlow/Films/Test3/Test3.html” width=”640″ height=”480″ source=”https://s3.amazonaws.com/FDT/QuantArb/Images/CL060712.png” title=”Video title goes here”]
September 15, 2012 at 12:55 am #49305wpCommerceModeratorHi, Please install a recent build of the plugin from here: https://support.tipsandtricks-hq.com/update-request
We don’t recommend anyone to use the lightbox special shortcode anymore (it’s been deprecated for a long time). You can either use the flowplayer shortcode or the “All browser compatible” shortcode to play a mp4 video (they are also compatible with iOS devices). Shortcodes are available in the shortcode reference guide:
Alternatively, you can also insert a shortcode using the “Shortcode Inserter” (it’s a TinyMCE button in the Visual Editor).
There are three versions of the jQuery library on the same page.
<script src="http://futures-day-trader.com/wp-content/themes/twentyten/js/jquery-1.2.6.min.js" type="text/javascript"></script> (coming from your theme)
<script type="text/javascript" src="https://tylergarns.s3.amazonaws.com/utils/jquery-1.7.1.min.js"></script> (coming from another plugin I guess)
<script type='text/javascript' src='http://futures-day-trader.com/wp-includes/js/jquery/jquery.js?ver=1.7.2'></script> (coming from lightbox ultimate using the proper WordPress API)
Unfortunately, you will have to get rid of the first 2 (they are hardcoded). WordPress has a proper API to include the jQuery library so that it doesn’t conflict when multiple plugins are installed. You can learn more about it here:
Lightbox Ultimate – Clicking on the Anchor does not Display any Overlay
At this point if you install any other WordPress plugin which uses jQuery it’s just going to stop functioning totally (Even if you deactivate Lightbox Ultimate).
-
AuthorPosts
- You must be logged in to reply to this topic.