Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate- Playing video from a certain time in Youtube is not working
Tagged: lightbox ultimate youtube video
- This topic has 4 replies, 2 voices, and was last updated 11 years, 11 months ago by Terve.
-
AuthorPosts
-
December 12, 2012 at 3:19 pm #8136TerveMember
I am trying to use the parameter in YouTube to start playing a video from a certain time.
#t=00m41s (Start from 41 seconds into the video). It works with youtube [http://www.youtube.com/watch?v=9O7yLPZFgUM#t=00m41s] but not in WP Lightbox.
December 12, 2012 at 10:56 pm #52337wpCommerceModeratorHi, There are different versions of the YouTube player (example: AS3, AS2, HTML5). And not all parameters are compatible with each version of the player. Do you have the link to documentation where YouTube describes the usage of “#t=00m41s” parameter?
Which shortcode are you using to test it out?
December 13, 2012 at 9:07 am #52338TerveMemberI cannot find these specifications on Youtube’s support other than a general suggestion how to deeplink into videos you share with friends [http://support.google.com/youtube/bin/answer.py?hl=en&answer=116618&topic=16649&ctx=topic]
But it works well when trying any of the suggestions that I have found elsewhere:
[http://www.labnol.org/internet/linking-to-a-specific-time-of-youtube-videos/5101/ (full)]
[http://www.mattcutts.com/blog/start-youtube-video-minutes-seconds/ (embedded)]
I have tried both the #t=00m41s ?t=00m41s and the &start=41 parameters without result.
Here is one of the shortcode examples:
[wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=9O7yLPZFgUM&start=41″ description=”TIM Brasil interview (in English after 42s)” source=”http://216.70.90.173/wp-content/uploads/2012/12/TIM-Telesemana-interview.jpg” title=”TIM Brasil interview (in English after 42s)” img class=”alignright size-full wp-image-5215″ style=”margin-top: 5px;margin-right:500px;margin-bottom:5px;margin-left:10px”]
The two #t=00m41s and ?t=00m41s parameter formats works well in a youtube link:
[http://www.youtube.com/watch?v=9O7yLPZFgUM#t=00m41s]
December 13, 2012 at 10:26 pm #52339wpCommerceModeratorHi, I checked the YouTube documentation but couldn’t find any parameter named “t”. I think this parameter only works when you actually visit the video page on YouTube. Playing video on your site (using YouTube api) and playing a video directly on YouTube are different.
December 19, 2012 at 5:12 pm #52340TerveMemberOk, thanks. We will have to ask Youtube to add that parameter to their APIs
-
AuthorPosts
- You must be logged in to reply to this topic.