mediawiki-extensions-EmbedVideo icon indicating copy to clipboard operation
mediawiki-extensions-EmbedVideo copied to clipboard

Part missing: scheme not found in //www.youtube-nocookie.com/embed/-PKzzkZ9gEw?rel=0

Open bertrandgorge opened this issue 8 months ago • 2 comments

With the new release of the extension (3.4.3), sudenly none of the videos on the wiki show up anymore. Apparently the scheme is missing:

<!-- Part missing: scheme not found in //www.youtube-nocookie.com/embed/-PKzzkZ9gEw?rel=0 -->

https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/blob/5c0f542d29c59fe57b020868093d38e99c3bc95b/includes/EmbedService/YouTube/YouTube.php#L48

NB : we use iframe-tag on our wiki - could it be an incompatibility ? It used to work before the upgrade but after, iframe tag complains that youtube-nocookie.com is not in the allowed domains, so there must have been something there...

bertrandgorge avatar Mar 28 '25 11:03 bertrandgorge

I confirm that disabling iframe-tag fixes the issue (although not in way we'd like !)

bertrandgorge avatar Mar 28 '25 12:03 bertrandgorge

Thanks for the report! I currently do not see what speaks against adding https to all base urls.

I'll check if there are any other dependencies on it

octfx avatar Mar 29 '25 07:03 octfx

Guess this is fixed through #118? 🙂

octfx avatar May 27 '25 18:05 octfx