• Resolved mrksdiehl

    (@mrksdiehl)


    Hello,

    the plugin really is great, thanks for putting it together. Just by accident, I found that when putting the link to youtube like this: https://youtube.com/watch?v=whatever (without www), the block will not be replaced.
    I found that in the switch statement hd_bcve_render_core_embed_block, you have only the case ‘www.youtube.com’. I don’t see a reason why you couldn’t also add youtube.com without www? Knowing that it only works with www, I can just always add it, but for less techy users this behaviour might come as a surprise. https://youtube.com and https://www.youtube.com are both valid and should both work.

    • This topic was modified 2 years, 2 months ago by mrksdiehl.
    • This topic was modified 2 years, 2 months ago by mrksdiehl.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mark Wilkinson

    (@wpmarkuk)

    I think you are right and it makes sense to included the non www versions. These were not include originally as copying the address from Youtube always adds the www.

    However since the embed works with the www it makes sense to make this work too. I will add this into the next release.

    Plugin Contributor Mark Wilkinson

    (@wpmarkuk)

    Version 1.1.3 (released just now) of the plugin should correct this issue. I am going to mark this as resolved.

    Thread Starter mrksdiehl

    (@mrksdiehl)

    Great! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enable https://youtube.com without www’ is closed to new replies.