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 ?

Comments

nicholasthompson’s picture

Status: Active » Postponed (maintainer needs more info)
  1. Whats URL Path Settings - do you mean setting an alias for a node?
  2. There is no attachment
  3. Do you have a live example on the web?
  4. Are you embedding YouTube code from youtube.com or are you using a module such as video

This is an unusual problem - I've used YouTube videos + Paths + GR before and never had a problem...

nicholasthompson’s picture

Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed as there has been no reply for a while... Have PMed dennys about it...

dennys’s picture

Status: Fixed » Closed (fixed)

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 .

mdowsett’s picture

Status: Closed (fixed) » Active

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...

dennys’s picture

Status: Active » Closed (fixed)

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.

nicholasthompson’s picture

Thanks dennys

mdowsett’s picture

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.