Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Mobile users cannot view YouTube videos on 10.13
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mobile users cannot view YouTube videos on 10.13

 Post Reply Post Reply Page  <123>
Author
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 2:57pm
YouTube updated the way you can use their service for embedding content. We are only following their guidelines.

No one here has an Apple device to test this in and to be honest would not wish to buy anything from such an unethical company.

If you use an Android device not only does YouTube work, but as you can use other bowers that are not based on Safari's AppleWebKit you also get the added benefit of being able to use the WYSIWYG Post Editor and being able to upload images. None of which you can do with Apple.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 3:41pm
Bruce,

I get what you're saying, but here is the thing. I have just made a test post with a YouTube video in it, and the results are as follows:

If you browse the older version of the forum (v10.11) on an iPhone: You can see the video
If you browse the newer version of the forum (v10.13) on an iPhone: You cannot see the video.

In both, im viewing the same exact post. 

--> Here is my question for you: Does having friendly URLs affect this in anyway? That's the only difference I can see between the old and the new version. If it's causing it, how do I disable friendly URLs that end with .html?


Edited by iSec - 04 December 2012 at 3:46pm
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 4:00pm
Version 10.11 embed the YouTube video as a shockwave-flash, which should not work on IOS where Apple has banned Flash support.

Version 10.13 and 10.14 embed YouTube video using an IFrame with YouTube then controlling how the video is delivered within the IFrame. This should allow YouTube to work with mobile devices as YouTube then decide how they wish to deliver the content, using Flash or HTML 5.

The code is in functions/functions_format_post.asp if you want to have a look at the code in the function formatYouTube which is called on the fly to display YouTube within posts.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 4:04pm
The page below may explain the problem, seems that it depends if your posters are trying to include other parameters in their YouTube links:-

http://fuzzyraygun.com/2012/03/youtube-iframe-embeds-not-working-on-ios-devices-fix/
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 4:07pm
Bruce,

You may find this strange, but I have replaced that function with the function in version 10.11 and it worked. I used the following:

strBuildYouTube = "<object width=""560"" height=""350""><param name=""movie"" value=""" & strYouTubeLink & """ /><param name=""allowScriptAccess"" value=""never"" /><param name=""allowNetworking"" value=""internal"" /><param name=""wmode"" value=""transparent"" /><embed src=""" & strYouTubeLink & """ type=""application/x-shockwave-flash"" allowScriptAccess=""never"" allowNetworking=""internal"" wmode=""transparent"" width=""560"" height=""350""></embed></object>"


Since this is a working solution, do you think maybe platform detection could be added in later versions and based on whether it's iOS or not display it using the above format and the new format as well?
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 4:13pm
That would be a tricky as apart from yourself all other feedback is that the older Flash embed format did not work in IOS as Apple have officially said they will not allow Flash on their devices. Unless you have jail breaked your device to install Flash on it.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 4:17pm
No, my iPhone is not jailbroken... I suggest you test it sometime if you get a chance to visit your local Apple store and use one of their demo devices to browse... Smile

P.S. I appreciate your patience and prompt responses. You're the best!
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2012 at 4:33pm
Don't think there are any, if there is I have never seen one.
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.