Permanently protected page

Widget:Morningstar videos

From Bogleheads
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]

This widget allows you to add a Morningstar video to your wiki page.

Parameters

  • path - The video URL
  • image - (Optional) A background image to show before the video starts. Otherwise, nothing is shown.

Video

No background image is displayed.

{{#widget:Morningstar videos
|path=https://video.morningstar.com/us/video2015hd/151014_bogle_part1_hd.mp4}}

The background image is displayed prior to starting the video.

{{#widget:Morningstar videos
|path=https://video.morningstar.com/us/video2015hd/151014_bogle_part1_hd.mp4
|image=https://im.mstar.com/im/videocenter/151014_bogle_part1_largethumb.jpg}}

Widget internals

Widgets do not use parser functions. Instead, a template programming language known as "Smarty" is used. Refer to the Smarty 3 Manual for the details.

The video URL and background image can be obtained by inspecting the web page with your browser.

  • Search Elements for jw-video. The src= link is the .mp4 video.
  • The following <div> contains the background image used for the video.