As part of HANA Cloud Portal great deliveries, we launched this month the Video Widget. Now when you create site, or edit an existing one, you can also play videos on your site.
Functional Overview
Authors use the Video Player widget to publish video content using a numbers of different video players.
The Video Player widget enables you to upload video content taken from Kaltura, YouTube and Vimeo for regular viewing by end users. You can add the content to the widget by entering the video link, or by pasting the embed HTML code directly into the widget.
Supported formats:
The video player supports 3 types of video platform:
How to add video to the site?
1. In the side-panel menu, open the Content Catalog which include all the available widgets.
2. Locate the Video Player widget, and add it to the page by double click or by drag and drop.
3. In the Video Link field, enter either the video URL or the embed HTML
4. Click Confirm. The video is played in the widget.
Once your video is loaded, you can change it by clicking Edit from the <icon> (Widget options) menu, and entering a different video link in the Edit dialog box.
Technical Overview
The Video Player was developed as openSocial Widget.
The widget points to specXML, which has the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="video">
<Locale messages="../../translations/video.xml"/>
<Require feature="opensocial-0.9"/>
<Require feature="views"/>
<Require feature="core.prefs"/>
<Require feature="gadgetprefs"/>
<Require feature="opensocial-jquery"/>
<Require feature="sap-menu"/>
<Require feature="sap-translate"/>
</ModulePrefs>
<Content type="html" view="authoring, consumption, mobile, preview, default">
<![CDATA[
<link rel="stylesheet" type="text/css" href="../../content/video/video.css" media="all"/>
<script type="text/javascript" src="../../content/video/video-consumption.js"></script>
<div id="container">
<div class="player"></div>
<div class="prefs"></div>
</div>
]]>
</Content>
<Content type="html" view="authoring">
<![CDATA[
<script type="text/javascript" src="../../content/video/video-consumption.js"></script>
<script type="text/javascript" src="../../content/video/video-authoring.js"></script>
]]>
</Content>
</Module>
Some technical remarks -
Your next step should be to open your trial account and try it by yourself :wink:
Inbal Sabag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
36 | |
25 | |
17 | |
13 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 |