Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Play mp4 videos

Daniele_A_
Beginner
990 Views

 

Hi at during a test.. i can't play a video using app designer .. i use this code

 <figure class="margin-auto widget uib_w_81 d-margins" data-uib="media/video" data-ver="0">
                                <video autoplay="autoplay">
                                    <source src="my/video/src.webm" type="video/webm">
                                        <source src="image/infow2.mp4" type="video/mp4">
                                </video>
                            </figure>

 

I see the final part of video..but not play... any advice ? Whitelist? I need to add specific allow intent?
Regards,.l

 

 

0 Kudos
3 Replies
Giselle_G_Intel
Employee
990 Views

When you say a test, do you mean you're running a build on a device and it will not play the video?

0 Kudos
Daniele_A_
Beginner
990 Views

Thank you for reply..in fact Giselle,, doesn't see video mp4 on simulator .. in device now run ok!

But he doesn't start automatically and i add a script like..

document.getElementById("myVideo").play();

Fantastic :)

 

 

0 Kudos
Giselle_G_Intel
Employee
990 Views

So it is working now? How great!

0 Kudos
Reply