Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › MP4 lightbox videos are not playing
Tagged: lightbox, link to text, mp4, video
- This topic has 5 replies, 2 voices, and was last updated 10 years, 10 months ago by wpCommerce.
-
AuthorPosts
-
January 4, 2014 at 10:54 pm #10360PatrickSpectator
Here is the webpage:
[http://dreamuniversity.com/wp-lightbox-demo/]
Here is the MP4 video link:
[http://ddg5smlpjar1w.cloudfront.net/videos/Virtual-DCC-Lesson-0-Marcia-DCC-Welcome.mp4]
have no clue. please enlighten.
January 5, 2014 at 11:04 pm #60148wpCommerceModeratorHi, there are multiple issues here:
1) Your site is including a very old version of jQuery:
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js?ver=latest'></script>
I don’t know if it’s coming from your theme or some other plugin. As of WordPress 3.8 every theme and plugin should be using jQuery 1.10.2.
Lightbox Ultimate – Clicking on the Anchor does not Display any Overlay
2) Lightbox Ultimate comes with Fancybox 2.1.5. But your theme is overriding the core fancybox JavaScript file with version 1.3.4 (very old):
<script type='text/javascript' src='http://dreamuniversity.com/wp-content/themes/buddyboss-dreamu/_inc/js/fancybox/jquery.fancybox-1.3.4_patch.js?ver=1.3.4'></script>
This is causing the following JavaScript errors:
Uncaught TypeError: Cannot set property 'buttons' of undefined jquery.fancybox-buttons.js?ver=2.0.8:21
Uncaught TypeError: Cannot set property 'media' of undefined jquery.fancybox-media.js?ver=2.0.8:89
Uncaught TypeError: Cannot set property 'thumbs' of undefinedYou can also find those errors by yourself. Please take a look at the following post for more information:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
3) Your theme is formatting the shortcode content by customizing the
wpautop
function. This is making the shortcode broken:https://support.tipsandtricks-hq.com/forums/topic/wp-lightbox-ultimate-not-activating-video
January 7, 2014 at 5:02 am #60149PatrickSpectatorGreat suggestions, thanks. Fixed all the jquery issues. Still not working. Any more ideas?
January 7, 2014 at 10:55 pm #60150wpCommerceModeratorI can still see the following errors:
1) Uncaught SyntaxError: Unexpected token < (index - Line 320)
(Related to number 3 above)2)Uncaught TypeError: Object [object Object] has no method 'live'
[http://dreamuniversity.com/wp-content/themes/buddyboss/_inc/global.js] (Line 267)January 9, 2014 at 1:44 am #60151PatrickSpectatorThis is now working. Thanks for all your help. Please close case.
January 9, 2014 at 4:02 am #60152wpCommerceModeratorYou’re welcome. I’m glad to hear that it’s working for you now.
-
AuthorPosts
- You must be logged in to reply to this topic.