Difference between revisions of "MRSS Feeds"
(→Code) |
|||
Line 19: | Line 19: | ||
== Example == | == Example == | ||
− | Please note that this example also shows an usage example of the [[Ad Plugin]]. | + | Please note that this example also shows an usage example of the [[Ad Plugin]] and the [[IMA Plugin]]. |
=== Screenshot === | === Screenshot === |
Revision as of 07:22, 10 August 2023
It is possible to load MRSS feeds via a special interaction plugin. The plugin can be used with version 0.1.146 or higher.
Usage[edit]
The plugin must be loaded with an MRSS feed URL. Please see following action syntax example.
content:request:interaction:{MRSS_URL}@http://msx.benzac.de/interaction/mrss.html
Optionally, a banner and/or background image can be set. The area of the banner is 1328x296 (WxH) pixels at layout resolution 720p (1992x444 at 1080p). The banner image is sized to fill the entire width (by keeping the ratio) and is positioned in the center. The area of the background is 1280x720 (WxH) pixels at layout resolution 720p (1920x1080 at 1080p). The background image is stretched to fill the entire size. Additionally, it is possible to set a plugin URL to customize the playback of video/audio items (e.g. to integrate ads and/or tracking). The plugin URL can contain the keywords {URL}
, {TYPE}
, and {GUID}
, which are replaced with the corresponding item values. Please see following action syntax examples.
content:request:interaction:{MRSS_URL}|{BANNER_URL}@http://msx.benzac.de/interaction/mrss.html
content:request:interaction:{MRSS_URL}|{BANNER_URL}|{BACKGROUND_URL}@http://msx.benzac.de/interaction/mrss.html
content:request:interaction:{MRSS_URL}|{BANNER_URL}|{BACKGROUND_URL}|{PLUGIN_URL}@http://msx.benzac.de/interaction/mrss.html
content:request:interaction:{MRSS_URL}||{BACKGROUND_URL}@http://msx.benzac.de/interaction/mrss.html
content:request:interaction:{MRSS_URL}|||{PLUGIN_URL}@http://msx.benzac.de/interaction/mrss.html
If you would like to use the plugin as reference to implement your own plugin, please have a look at this implementation script: http://msx.benzac.de/interaction/js/mrss.js.
There is also a launcher service that allows you to launch the Media Station X application directly with an MRSS feed: https://msx.benzac.de/info/mrss.html.
Example[edit]
Please note that this example also shows an usage example of the Ad Plugin and the IMA Plugin.
Screenshot[edit]
Code[edit]
{
"headline": "MRSS Examples",
"menu": [{
"icon": "rss-feed",
"label": "Example Channel 1",
"extensionLabel": "Banner 1",
"data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|http://msx.benzac.de/media/banner.png|http://msx.benzac.de/media/banner_background.png@http://msx.benzac.de/interaction/mrss.html"
}, {
"icon": "rss-feed",
"label": "Example Channel 2",
"extensionLabel": "Banner 2",
"data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|https://picsum.photos/1992/444@http://msx.benzac.de/interaction/mrss.html"
}, {
"icon": "rss-feed",
"label": "Example Channel 3",
"extensionLabel": "Ad Plugin",
"data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|||http://msx.benzac.de/plugins/ad.html?url={URL}&type={TYPE}&guid={GUID}@http://msx.benzac.de/interaction/mrss.html"
}, {
"icon": "rss-feed",
"label": "Example Channel 4",
"extensionLabel": "IMA Plugin",
"data": "request:interaction:http://msx.benzac.de/info/data/mrss/example.xml|||http://msx.benzac.de/plugins/ima.html?url={URL}&ad=https%3A%2F%2Fpubads.g.doubleclick.net%2Fgampad%2Fads%3Fiu%3D%2F21775744923%2Fexternal%2Fsingle_ad_samples%26sz%3D640x480%26cust_params%3Dsample_ct%253Dlinear%26ciu_szs%3D300x250%252C728x90%26gdfp_req%3D1%26output%3Dvast%26unviewed_position_start%3D1%26env%3Dvp%26impl%3Ds%26correlator%3D@http://msx.benzac.de/interaction/mrss.html"
}]
}
Demo[edit]
- Launch via App: https://msx.benzac.de/?start=menu:https://msx.benzac.de/info/data/mrss.json
- Launch via Demo Page: https://msx.benzac.de/info/?start=menu:https://msx.benzac.de/info/data/mrss.json