Android and MP4 Video

Workarounds and usability notes.

Android and MP4 Video

Postby Clifton » Sun Mar 20, 2016 12:17 am

PROBLEM: Android devices will not play MP4 videos loaded with htmlVideoLoader()

Not all Android devices will play MP4 video. This is not a PowerPac deficiency. Android devices often require that another compatible format be provided when setting up htmlVideoLoader(). In this case, specify and create a WEBM video along with your MP4 file. This way, most devices will play the MP4, but Android will choose the WEBM file.

As another workaround, upload your videos to YouTube and stream them from that source as YouTube already uses a detection mechanism for support various devices. PowerPac's htmlVideoLoader() has built in support for YouTube videos.

The following link should play the videos fine on Android:
http://pgsoftwaretools.com/powerpac/assessments/html5_player
Clifton
Site Admin
 
Posts: 732
Joined: Tue Jan 14, 2014 1:04 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron