Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-632

Macro for Youtube embeds

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None
    • Docu Sprint 3

    Description

      The existing confluence macro: "Widget Connector" has some limitations for youtube embeds.

      • The fullscreen button does not work.
      • Its not possible to specify a playlist.
      • Its not possible to keep it from suggesting a video at the end (usually totally irrelevent - and potentially offensive - or a competitor.

      THerefore we should create a new Macro (Since enabling the flexible HTML Macro is a security risk.

      THe macro should take 4 parameters:
      width
      height
      youtubeid
      playlistid (optional)

      It should output:
      (If no playlist specified)
      <iframe width="420" height="315" src="https://www.youtube.com/embed/d2AfwRTU5bk?rel=0"
      frameborder="0" allowfullscreen></iframe>

      (If a playlist specified.)
      <iframe width="560" height="315" src="https://www.youtube.com/embed/mUOZKeQq938?rel=0&list=PLxHBbwVVoCob0wnr64vUIEJ1nhirkYoZY"
      frameborder="0" allowfullscreen></iframe>

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              cmeier Christoph Meier
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5d
                  0.5d