Has anyone been able to get Domino 9 xpages to work with videojs ? I project where I need a landing page to direct client to a CDN streaming from Wowza Streaming Engine.
Here's a sample with videojs working as an XPage. As this is mostly client side stuff, this will work from 9.0x onwards.
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.resources>
<xp:headTag tagName="script">
<xp:this.attributes>
<xp:parameter name="type" value="text/javascript" />
<xp:parameter name="src"
value="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js" />
</xp:this.attributes>
</xp:headTag>
<xp:styleSheet
href="https://vjs.zencdn.net/7.8.4/video-js.css">
</xp:styleSheet>
</xp:this.resources>
<video id="my-video" class="video-js" controls="true" preload="auto"
width="640" height="264" data-setup="{}">
<source src="https://vjs.zencdn.net/v/oceans.mp4" type="video/mp4" />
<source src="https://vjs.zencdn.net/v/oceans.webm" type="video/webm" />
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider
upgrading to a web browser that
<a href="https://videojs.com/html5-video-support/"
target="_blank">
supports HTML5 video
</a>
</p>
</video>
<script src="https://vjs.zencdn.net/7.8.4/video.js"></script>
</xp:view>