After upgrading to beta9, I get this error message when I try to view a youtube video within colorbox:
"Sorry, you need to install flash to view this content."

When I revert back to beta8, the problem goes away.

P.S.
I am running emfield-2.4
The problem does not occur with other video providers, eg vimeo.

Comments

kobnim’s picture

I was mistaken when I said:

When I revert back to beta8, the problem goes away.

When I reverted back to beta8, I saw that youtube now worked fine again, but neglected to notice that colorbox was not working at all! Unfortunately, it does not seem possible to revert back to the previous version.

I'm *guessing* the problem is related to colorbox, but of course I am not sure. Please see my comment here in the emfield queue: http://drupal.org/node/734638#comment-3819430

frjo’s picture

Category: bug » support

Reverting back to a previous version of Colorbox is no problem. Simply delete the existing module, put in the replacement and clear the cache.

In my testing I can't replicate this problem. For me Colorbox work as it should with emfield and media_youtube as well as media_vimeo.

Do you run a JavaScript blocker plugin like NoScript in your browser? That could cause messages like "Sorry, you need to install flash to view this content." until you whitelist the domain.

kobnim’s picture

"Reverting back to a previous version of Colorbox is no problem. Simply delete the existing module, put in the replacement and clear the cache."

Thanks, that's helpful to know. Clearing the cache did not work for me, but knowing that it *should* work gives me reason to investigate further.

In my testing I can't replicate this problem. For me Colorbox work as it should with emfield and media_youtube as well as media_vimeo.

Yes, it is very strange. It had been working fine. And I have not yet been able to figure out what I did to "break" youtube.

Do you run a JavaScript blocker plugin like NoScript in your browser? That could cause messages like "Sorry, you need to install flash to view this content." until you whitelist the domain.

I don't think that is the problem. I am able to run youtube videos on my site, just not from within colorbox. I will try to narrow down the problem and report back.

kobnim’s picture

First, I believe I gave you faulty information earlier. I get the error message "you must install flash player" with both colorbox-beta8 and colorbox-beta9.

Here is some information that I hope might be useful in tracking down the problem.

In both of the "minimal" installations described below:
- Vimeo plays fine, both within colorbox and outside colorbox.
- Youtube plays fine outside colorbox. However, within colorbox, the youtube video displays the error message "you need to install flash".

Installation #1
-------------------------------------------
I installed these modules (and no others):
Drupal 6.19
colorbox-6.x-beta8
emfield-6x-2.3
emvideo-6.x-2.3
media_youtube-6.x-1.2
media_vimeo-6.x-1.1
jquery_update-6.x-2.0-alpha1

Installation #2
-------------------------------------------
This second installation was identical to the one above, except for the colorbox and emfield version:
colorbox-6.x-beta9
emfield-6x-2.4
emvideo-6.x-2.4

In both installations, the youtube setting, "Use JW FLV Media Player", is unchecked.

I hope this information is helpful.
If there is anything else I can do to help track down the problem, please let me know.

Thanks very much,
Mindy

kobnim’s picture

Aha, the plot thickens!

Please see here for further clues to the mystery: http://drupal.org/node/734638#comment-3839204
It looks like the problem might involve both emfield and colorbox.

frjo’s picture

Status: Active » Closed (fixed)