Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  Add ReplyNew TopicNew Poll

 HTTPS Youtube Tag
#
On my forum, we have a custom Youtube embed code for posts. The custom tags we use are [youtube][/youtube]. It seems they do not work on the encrypted URL. Does anyone know how to fix this?

Here is our current code:
CODE
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/(PARAM1)"></param><embed src="http://www.youtube.com/v/(PARAM1)" type="application/x-shockwave-flash" width="425" height="355"></embed></object>

signature
#
Have you tried changing it to / creating a new BBcode like this, to see if it works:

CODE
<object width="425" height="355"><param name="movie" value="https://www.youtube.com/v/(PARAM1)"></param><embed src="https://www.youtube.com/v/(PARAM1)" type="application/x-shockwave-flash" width="425" height="355"></embed></object>

signature
user posted image
#
Yep, I tried that. It still doesn't show up on the secure link with that.

ETA: I seem to have figured this one out.

CODE
<iframe width="560" height="315" src="https://www.youtube.com/embed/(PARAM1)" frameborder="0" allowfullscreen></iframe>


That is the updated code it seems.

This post has been edited by Tyrailius: Jun 1 2017, 02:39 PM

signature
#
Yes. /v/ in an embed is actually a legacy youtube embed code. The new one should work great.

signature
email: admin@jcink.com :: blog: John C.
#
I'm guessing there is probably no easy way to make the old youtube links compatible with HTTPS without going in and editing the URLs?

signature
#
Hmm, you could try a filter? I don't know if they work within BBcode, but it's worth a shot.

signature
user posted image
#
Filters are not retroactive.

Unfortunately, all the old videos won't work. I am working on some settings to help with things like that, but they aren't available at this time.

signature
email: admin@jcink.com :: blog: John C.
#
QUOTE (John @ Jun 1 2017, 02:59 PM)
Filters are not retroactive.

Unfortunately, all the old videos won't work. I am working on some settings to help with things like that, but they aren't available at this time.


Ah yea, I figured. Filters are super handy for mass-editing posts, though - I just turn them on, edit the post, submit it without the changes, and then the system does the work for me + auto-fixes it any time a member accidentally uses the old version. Of course, it only works in situations like this where what you want to replace isn't super commonly used outside of whatever you want to fix.

signature
user posted image
#
For now, on my forum where the old videos are is just a big blank space on the https link. Weird.

signature
#
Embedded content such as youtube videos are classed as content that's "too insecure" to be loaded while using HTTPS.

We are able to get away with images (for now) and certain other types of similar media.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options Add ReplyNew TopicNew Poll