Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8122

Re: How to include Youtube Video

$
0
0

Hi,

 

You can use HTML  control along with HTML 5 video tag.

 

var html1 = new sap.ui.core.HTML({

            content:

                    "<video width='30%' height='30%' controls>" +

                    "<source src='http://www.w3schools.com/html/movie.mp4' type='video/mp4'>" +

                    "Your browser does not support the video tag." +

                    "</video>"

    });

return html1 ;

 

Use this code in view file to get the video.

 

Regards

Sridevi


Viewing all articles
Browse latest Browse all 8122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>