Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Removed

После создания ЛГТ типа "Виджет", помимо ссылки, вы получите два блока кода, которые необходимо разместить в коде вашей веб-страницы.

...

...

...

After creating an LGT of the "Widget" type, in addition to the link, you will receive two blocks of code that must be placed in the code of your web page.

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttps://www.youtube.com/watch?v=qB8h4wb_4Wg&feature=youtu.be
height

Image Removed

...

300px

...

  1. The first part of the code is the initialization script (init code).

...

  1. It should be placed in the code of the page where you place the LGT of the Widget type, at the very end of the head - before the closing </body> tag.

  2. The second part of the code is the widget generation script. Place it in the page code, anywhere in the body, but NOT below the init script.

...