Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15430

vimeo & youtube bbcodes should use protocol safe URLs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Invalid
    • 3.2.1
    • None
    • BBCode Engine

    Description

      The default HTML replacements for youtube and vimeo should use protocol safe URLs ( i.e. //, not http:// or https:// ) so that they work correctly when behind (or not) an HTTPS proxy:

       

      youtube:

      <iframe width="560" height="315" src="//www.youtube.com/embed/{IDENTIFIER}" frameborder="0" allowfullscreen></iframe>
      <p>
      <a href="//www.youtube.com/watch?v={IDENTIFIER}">Watch on YouTube</a>
      </p>
      

      vimeo:

      <iframe src="//player.vimeo.com/video/{IDENTIFIER}?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
      <p>
      <a href="//vimeo.com/{IDENTIFIER}">Watch on Vimeo</a>
      </p>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mrironside mrironside [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: