Details
-
New Feature
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
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