YouTube Video "An error occurred..."

More
12 years 2 weeks ago #10171 by greenleaf
Hello... love the extension.

One problem, when trying to load a YouTube video I get the error:
"An error occurred. Please Try Again Later."

The video works fine on its own:


But when embedded in the iframe by the module, it converts the URL to:


If you try that URL on its own you will reproduce the error...

It seems obvious that the "&wmode=transparent" is causing an issue.
The only occurrence of this that I have found was in the helper.php file, but commenting out did not change the link.

Any ideas?

Thank you very much.
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #10182 by ced1870
Hi

The video works fine on its own:

when I click I got the same error ...

check the link please
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #10189 by greenleaf
Sorry, I sent the wrong link; I modified the other from the non-working URL.

This is the correct working video URL:
Code:
http://www.youtube.com/watch?v=NmtJcUo6Ark

This also works (and is what the module should output):


Looks like the "/embed/" does not work in combination with "/watch?v="?

Knowing that, I actually got the module to work by entering the follow as the URL (note that this URL does NOT work on it's own, it produces a 404):
www.youtube.com/NmtJcUo6Ark

The URL provided in the "Share" area also works:
Code:
http://youtu.be/NmtJcUo6Ark

It seems that the module is expecting all users to use the "Share" code provided by YouTube, but many users may enter the URL they were given in their address bar...
Perhaps it should detect the presence of certain other strings like the above.

Thanks for your help and the great module.

Please Log in or Create an account to join the conversation.

More
12 years 1 week ago #10193 by ced1870
Hi
you must give the url like youtu.be, this is explained in the module documentation
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 932 guests and 3 members online