Problem with Youtube link with IE, IE wants to download content |
Problem with Youtube link with IE, IE wants to download content |
Thompy |
Feb 23 2010, 08:31 AM
Post
#1
|
Group: Members Posts: 6 Joined: 23-February 10 Member No.: 11,181 |
Hi I have a simple site with links to videos on googlevideo and youtube etc. My links to youtube content run fine with FF and Chrome but when using IE it wants to download and save content rather than just stream it. This is only happening with the Youtube links not the googlevideo ones.
see example code: <div align="center"><a href= "http://www.youtube.com/v/wEM0SF04Rw4&hl=en_GB&fs=1& " type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340" rel="Shadowbox; height=500; width=700;options={flashParams:{allowFullScreen:true,}}" player="swf" >Shift by Wayne Dyer</a> </font></div> The Shadowbox is working ok and I have tried it with and without with the same results. Please... what is causing IE to behave like this when the other browsers work fine? This post has been edited by Thompy: Feb 23 2010, 08:35 AM |
pandy |
Feb 23 2010, 12:26 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Try the URL YouTube provides.
HTML <a href="http://www.youtube.com/watch?v=wEM0SF04Rw4">...</a> You can't just take bits of the embed code and fiddle them into a link. And where did those curly braces come from? |
Thompy |
Feb 23 2010, 05:03 PM
Post
#3
|
Group: Members Posts: 6 Joined: 23-February 10 Member No.: 11,181 |
Try the URL YouTube provides. HTML <a href="http://www.youtube.com/watch?v=wEM0SF04Rw4">...</a> You can't just take bits of the embed code and fiddle them into a link. And where did those curly braces come from? The code you have suggested above is the url code which then places the whole page in the shadowbox. Not what I am trying to achieve. The code I've used is taken from youtube minus the object embed part because I don't want the object embedded in the page. The code works fine in Chrome and FF, the Shadowbox opens and the video sits neatly in it in the youtube player. The same technique of removing the embed object code works fine with google video content. The problem is just with IE. The curly braces come from the Shadowbox coding. |
pandy |
Feb 23 2010, 05:18 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Amazing. Can we see this thing?
|
Thompy |
Feb 23 2010, 05:25 PM
Post
#5
|
Group: Members Posts: 6 Joined: 23-February 10 Member No.: 11,181 |
Amazing. Can we see this thing? I presume you mean the Shadowbox thing? http://www.shadowbox-js.com/ The Shadowbox runs on javascript but that is working fine. |
pandy |
Feb 23 2010, 05:54 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
No, I meant the page where you have it working..
IE doesn't seem to be able to access that video directly at all. It doesn't matter if you chop off the querystring that doesn't seem to do much anyway. The content-type is correct AFAICS, so I don't know whay it wants to download it. http://www.youtube.com/v/wEM0SF04Rw4 |
Thompy |
Feb 23 2010, 06:06 PM
Post
#7
|
Group: Members Posts: 6 Joined: 23-February 10 Member No.: 11,181 |
No, I meant the page where you have it working.. IE doesn't seem to be able to access that video directly at all. It doesn't matter if you chop off the querystring that doesn't seem to do much anyway. The content-type is correct AFAICS, so I don't know whay it wants to download it. http://www.youtube.com/v/wEM0SF04Rw4 Apols... www.21stcenturycinema.org Currently the only youtube links are Baraka and Shift .... Thanks for any insight. This post has been edited by Thompy: Feb 23 2010, 06:43 PM |
pandy |
Feb 23 2010, 07:29 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I'm stumped. I would have expected the content-type to be unknown to IE, that's when browsers offer to download files they can normally display, but it isn't. I don't mean in your markup, but in the http header from YouTube. It says 'application/x-shockwave-flash' and I think that's right.
|
Thompy |
Feb 23 2010, 09:02 PM
Post
#9
|
Group: Members Posts: 6 Joined: 23-February 10 Member No.: 11,181 |
Glad I'm not the only one stumped.
Thanks for taking a look. |
Thompy |
Feb 25 2010, 02:20 PM
Post
#10
|
Group: Members Posts: 6 Joined: 23-February 10 Member No.: 11,181 |
Glad I'm not the only one stumped. Thanks for taking a look. With the help from internet angel Ltooz from Shadowbox forum the problem has been solved. Turns out the curly braces bit was getting in the way. Took out... ;options={flashParams:{allowFullScreen:true,}} Seems to work OK now. |
Lo-Fi Version | Time is now: 19th April 2024 - 12:42 PM |