Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox – Audio short code with mp3 no longer working. Working fine up to 3.7
- This topic has 4 replies, 3 voices, and was last updated 11 years ago by greenleader.
-
AuthorPosts
-
October 29, 2013 at 9:04 am #9923greenleaderMember
Hi,
I have a page which uses lightbox to pay an audio clip a video clip and display a pdf. All working ok. Since 3.7, the video and pdf still work but when I click on the audio, nothing happens.
Here is the short code I’m using
[wp_lightbox_ultimate_embed_audio url=”https://s3-us-west-2.amazonaws.com/simberry/10-08-2013_00-34_msg6.mp3″ title=”” width=”220″ height=”30″ autoplay=”true” direct_embed=”” anchor_type=”image” text=”” source=”http://www.simberry.com/wp-content/uploads/2013/10/volume.png”%5D
Page in question is [http://simberry.com/sample-dashboard]
Thanks
Andrew
October 29, 2013 at 10:37 pm #58524wpCommerceModeratorHi, this is not a 3.7 issue. I identified a couple of things that need to be fixed:
1) One of the plugins or the theme is directly including jQuery (possibly the theme)
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
You can read more about it here:
2) You have a plugin installed called “go_pricing” which is directly including
mediaelement-and-player.min.js
file.<script type='text/javascript' src='http://www.simberry.com/wp-content/plugins/go_pricing/assets/plugins/js/mediaelementjs/mediaelement-and-player.min.js?ver=2.1'></script>
This script now comes with the core WordPress (since version 3.6). So it needs to be included using the proper WordPress API.
Currently the page contains the following errors which are caused by the issues I just mentioned:
Uncaught TypeError: Object #<Object> has no method 'html5lightbox' html5lightbox.js?ver=2.0.3:647
Uncaught TypeError: Object #<Object> has no method 'prettyPhoto' (index):339You can also check for any JavaScript errors by yourself. Please see this post for more information:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
October 29, 2013 at 10:42 pm #58525mbrsolutionSpectatorHello Andrew, which browser have you checked? I just did a check on the following browsers running Windows 7.
Firefox 24.0
Seamonkey 2.21
Chrome 30.0.1599.101
The audio works well on the above browsers.
You might also want to update to the latest WordPress 3.7.1 if you have not already done so.
Kind regards
October 30, 2013 at 2:25 am #58526greenleaderMemberThanks for the replies. I had to implement a plan B so currently not using Lightbox for the Audio. Thanks for the suggestions. I did implement a script for ThumbsUp. I’ll remove that and see how I get on.
Cheers
Andrew
October 30, 2013 at 2:40 am #58527greenleaderMemberYep, that was it. The ThumbsUp script I had added to my functions.php. Case closed!!! Great work and thanks for the prompt response.
Andrew.
-
AuthorPosts
- You must be logged in to reply to this topic.