A strange problem for IE + YouTube
dennys - June 8, 2008 - 16:00
| Project: | Global Redirect |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I found a strange problem, if I use "URL path settings" and a YouTube video in one node and enable "Global Redirect", then when I use IE to browse it, I'll get an error (please check attachment)
But if I use Firefox or Opera, it's ok.
And when I disable Global Redirect or remove URL path settings (I use /node/xxx to visit), it's ok too.
I'm not sure it's Global Redirect's problem, any ieda ?

#1
This is an unusual problem - I've used YouTube videos + Paths + GR before and never had a problem...
#2
Marking as fixed as there has been no reply for a while... Have PMed dennys about it...
#3
I still doesn't find the root cause, but when I add a classid in the HTML, it's ok. I think we can close it .
#4
so is it a Drupal issue?
can you detail exactly what you added (a before and after) so I can try it? I'd hate to have to remember to add this in each YouTube video I add to every post...
#5
I'm not sure is it a Drupal issue. Just like I said in #2, I added a "classid" in HTML and it's ok now.
But I found another solution, I use video filter now (http://drupal.org/project/video_filter), although it doesn't generate classid, but it works. And I think it's good idea to use this module.
Btw, I don't think it's global redirect's issue, I'll close it.
#6
Thanks dennys
#7
I didn't try the video_filter as I try to avoid using more and more modules (for performance reasons)
I got around this issue by using the 'filtered HTML' input format and customize that format to allow most HTML tags and excluded the and tags (as they are the ones causing the problem with the embed code you get from YouTube. I don't know if this has any other repercussions for other embedded codes but you could create a custom input format that you choose on just nodes with YouTube code embedded.