Closed AutoJunkie79 closed 7 years ago
Ok, so I did some more research, it appears this should have been fixed in SCEditor v1.5.0: https://github.com/samclarke/SCEditor/issues/489
However I see the same error in my inspector console:
and I appear to have SCEditor 1.5.2, I only recently installed your extension:
Not sure to go from here, thank you for looking into this! Let me know how I can help.
Also, the URL I actually put into the editor was https://youtu.be/25QyCxVkXwQ
The problem occurs because you have a secure domain and the YT videos gets loaded over unsecure http. I will look into this.
The URL we see in the inspector/console is not the one I put into the editor. I copied and pasted the https://youtu.be/25QyCxVkXwQ URL straight from the YouTube page after clicking on "Share". It seems like the editor or something else might be parsing the URL I entered, taking the unique ID of the video (25QyCxVkXwQ) and re-inserting it as a variable into the non-secure version. This probably explains why the video does not show in the preview either.
Go to your ACP - POSTING - BBCodes, scroll down to youtube and click on inside the HTML Replacement change http to https and save it.
I will change this too in my project.
Good find, I didn't even think to look there! Still very new to this. Thanks again for your help!
Don't close it until I commit the solution for the new users ;)
Sorry very new to GitHub too. ^_^
when attempting to embed a YouTube video, the clip shows up fine in the editor but not in the post. I'm not much of a developer, but it does appear that the video is being embedded in the final post even though it is not visible.
phpBB 3.2.0 PHP 7.1.1 ComBoot Theme (I switched back to prosilver and result is the same)
Enabled Extensions:
Installed but not Enabled:
[ Working in the editor ]
[ Actual post ]
[ Inpsector Code Snippet ]