Forum Replies Created
-
AuthorPosts
-
December 19, 2012 at 5:28 pm in reply to: WP Lightbox Ultimate PrettyPhoto re-sizing of pop-up window, too much padding? #51992TerveMember
Sorry for taking up this discussion again, but what I have to say may make your pligin even better. I have now investigated iPhone and Android smartphones and none of the ones I have tested is actually running the YouTube API in the pop-up window, you can easily test and confirm this yourselves. I could maybe do a different code for handling smartphones separately, but if you could do it that is even better long term for all I think.
Since the smartphones are not playing the YouTube API in the pop-up window anyway (note: iPAD is working fine just like a PC), this is what I propose you do:
If mobiledevice=true then
<a href="http://www.youtube.com/watch?v=9O7yLPZFgUM&autoplay=1&t=00m41s"><img class="alignright size-full wp-image-5215" title="TIM interviewed" src="http://216.70.90.173/wp-content/uploads/2012/12/TIM-Telesemana-interview.jpg" alt="TIM interviewed by Telesemana about their Wi-Fi offload roll-out" width="200" height="133" /></a>
Else
[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”]
Of course this is not genuine code but I think that you get what I mean. Simply do not trigger the pop-up for a mobile device, instead make a ordinary link with autoplay on and then it will trigger the normal behaviour in the smartphone.
December 19, 2012 at 5:12 pm in reply to: Lightbox Ultimate- Playing video from a certain time in Youtube is not working #52340TerveMemberOk, thanks. We will have to ask Youtube to add that parameter to their APIs
December 13, 2012 at 9:11 am in reply to: WP Lightbox Ultimate PrettyPhoto re-sizing of pop-up window, too much padding? #51991TerveMemberBy the way, I might be able to do a work around. I will investigate if I can have two different HTML codes depending on device type and not use your plugin for smartphones.
December 13, 2012 at 9:08 am in reply to: WP Lightbox Ultimate PrettyPhoto re-sizing of pop-up window, too much padding? #51990TerveMemberOk, thanks allot for an otherwise great plugin.
December 13, 2012 at 9:07 am in reply to: Lightbox Ultimate- Playing video from a certain time in Youtube is not working #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 8:41 am in reply to: WP Lightbox is not passing HTML5 Conformance Checker (experimental) #52231TerveMemberOk, understand. Thanks.
December 12, 2012 at 3:20 pm in reply to: WP Lightbox is not passing HTML5 Conformance Checker (experimental) #52229TerveMemberUnderstood, thank you. You might want to consider to comply to the HTML5 in future releases?
December 12, 2012 at 3:09 pm in reply to: WP Lightbox Ultimate PrettyPhoto re-sizing of pop-up window, too much padding? #51988TerveMemberI have. These two other options has no scaling capabilities at all, the box pop-up but the vast majority of it is outside the screen limits. Fancy box do not cause the browser to hang in landscape view. I would like to encourage you if possible to consider:
“With a small screen size such as a smartphone, I could think of skipping the Light-box pop-up and just launch the video in a new tab/window, this will trigger iPhones naitive video display. If possible this could be something to consider to build in as an option, for screens under a certain threshold in size (that is screens sizes of smartphones), just skip the pop-up and launch it as if it was a normal link, then the naitive video display will appear in a new tab/window.”
It should be noted that the pop-up will not bring much value for an iPhone anyways, first thing that happen when you start the video is that it pop-up in a new tab in the browser just as it does from an normal link, it never ever plays in the pop-up window in iPhone.
December 10, 2012 at 5:07 pm in reply to: WP Lightbox Ultimate PrettyPhoto re-sizing of pop-up window, too much padding? #51986TerveMemberHi sorry for late reply, have been very busy. First of all I must say that I am impressed over this plugin even though I have some issues with this detail.
I have tried what you suggest with same result. I have even changed the WP theme of the whole site to the default one in WP, same result.
I just now noticed, that if you put the iPhone in “landscape view” where the width is greater than the height of the screen the result is more severe as it will cause the browser to hang.
With a small screen size such as a smartphone, I could think of skipping the Light-box pop-up and just launch the video in a new tab/window, this will trigger iPhones naitive video display. If possible this could be something to consider to build in as an option, for screens under a certain threshold in size, just skip the pop-up and launch in a new tab/window.
-
AuthorPosts