Mobile app and Wowza Streaming Engine

Mobile app and Wowza Streaming Engine

by Payman Zafar -
Number of replies: 1

Hi all,

I have a Wowza streaming server, along with Moodle 3.5 on Windows 2012 R2 server.

I need to add streaming video to courses.  The video are played  on PC, but the videos are not played on Moodle mobile app.

The video URLs are like :

http://www.exmaple.com/vod/_definst_/PAE/video.mp4/playlist.m3u8

I added an URL activity with the above address without success. It tries to download the playlist.m3u8 file.

I added an URL activity, and used a VideoJS sample index file. It works on PC, but on mobile app it opens a browser which is not good. The same happened with a JWplayer index file.

I added a page activity, and used a VideoJS embed code. It works on PC, but on mobile app it only shows the title section in the HTML code.

I also installed Moodle JWPlayer plugin, and set it up in self-hosted mode. Move it to the top in media player plugins. again it works on PC, but on mobile it only shows the manifest.mpd or playlist.m3u8 which is the last part in Wowza URLs.

Please help.

Average of ratings: -
In reply to Payman Zafar

Re: Mobile app and Wowza Streaming Engine

by Payman Zafar -
Finally I found the solution.
I made an index.html file and put the required JWPlayer JavaScript inside it. Then I used an iframe, and put this index file inside it. Here is the sample iframe code:

<div style="position:relative; padding-bottom:56.25%; overflow:hidden;">
<iframe src="https://example.com/index.html" width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen style="position:absolute;"></iframe></div>

Now the video is played back both on PC, and inside the mobile app.