This is a comment on Embedding Youtube code: possible?, posted by WikiAdmin at 24.10.2024 08:05

View source for Re: Embedding Youtube code: possible?

You must use the embed link of YouTube. There is a Share link / icon on each Youtube video showing you the embed options. Its an API issue of YouTube.

Or simply use
##~https://www.youtube.com/embed/HASH##
##~https://www.youtube-nocookie.com/embed/HASH##

Otherwise YouTube wont service your request.

It is possible to write an action that parses all these link combinations, takes the hash and uses finally the ##embed/## link. I'm not aware of a PHP libary that will do this for a large variety of streaming providers.