Advertisement:

Author Topic: Ohara YouTube Embed  (Read 216521 times)

Offline Suki

  • Carthago delenda est
  • Lead Developer
  • SMF Super Hero
  • *
  • Posts: 16,094
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #800 on: August 17, 2020, 03:07:43 PM »
Should be if using emulation.

Also have a 2.1 version: https://github.com/MissAllSunday/OharaYouTubeEmbed/releases/tag/v2.0  although its been a while and it might need some changes to work properly.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline 1.1Nerd

  • Semi-Newbie
  • *
  • Posts: 92
Re: Ohara YouTube Embed
« Reply #801 on: August 17, 2020, 07:16:27 PM »
Thank you

Offline AdeV73

  • Newbie
  • *
  • Posts: 2
Re: Ohara YouTube Embed
« Reply #802 on: January 19, 2021, 03:37:53 AM »
Hi;

We've been using this mod for years (many thanks!) and it's been brilliant - but... recently YouTube have changed their policy & no longer serve content on http: //. Since this mod re-writes all YouTube URLs it finds to http: //etc., it's effectively *removing* video links (even valid ones)!

I've patched my copy, which has got it working again, but I suspect many other users of this mod are about to discover this problem...


TL;DR: Change all "http: //" references to "https: //" and the mod will work perfectly again!

[weird spacing added to prevent smiley generation :D]

Offline Suki

  • Carthago delenda est
  • Lead Developer
  • SMF Super Hero
  • *
  • Posts: 16,094
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #803 on: January 19, 2021, 09:34:03 AM »
Thank you for the report. Will issue a release for it shortly.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline Suki

  • Carthago delenda est
  • Lead Developer
  • SMF Super Hero
  • *
  • Posts: 16,094
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #804 on: January 19, 2021, 11:32:37 AM »
Just tested the mod and couldn't reproduce the issue. The mod by default uses scheme-less urls  which means it doesn't add http or https to the iframe responsible for loading a video.

Do you have any other mod that might modify the default url behaviour?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline dekatria

  • Jr. Member
  • **
  • Posts: 122
  • Leave Nothing
    • roulette30 on Facebook
    • roulette30 on LinkedIn
    • @@roulette30 on Twitter
    • How to play Roulette
Re: Ohara YouTube Embed
« Reply #805 on: March 28, 2021, 09:17:48 PM »
Great mod, thanks!

However, when I check the autoembed option, the (many) video embeds I already did using
Code: [Select]
[ html ] have stopped working.

for example this
Code: [Select]
[html]<iframe width="560" height="315" src="https://www.youtube.com/embed/yNKjzzIvN0A" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>[/html]
produces a forbidden access error
http://prntscr.com/10yl36d

Offline Suki

  • Carthago delenda est
  • Lead Developer
  • SMF Super Hero
  • *
  • Posts: 16,094
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #806 on: March 29, 2021, 02:46:11 PM »
It would be too complex and CPU intensive to change all your html bbc tags on the fly for every request. It would be better if you could make a database edit and convert all of those bbc tags once.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Offline dekatria

  • Jr. Member
  • **
  • Posts: 122
  • Leave Nothing
    • roulette30 on Facebook
    • roulette30 on LinkedIn
    • @@roulette30 on Twitter
    • How to play Roulette
Re: Ohara YouTube Embed
« Reply #807 on: April 04, 2021, 02:55:07 PM »
Thanks for the reply. I was wondering if the mad could not mess with *html* embeds and leave them as they are already