| Author |
Topic Search Topic Options
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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/
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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... 
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 04 December 2012 at 4:33pm |
|
Don't think there are any, if there is I have never seen one.
|
|
|
 |