Selasa, 18 Oktober 2016


1. How to embed flash video without an iframe
it simple way you need is only change your video id and videosite-here bellow code u need to copy and paste in to your web browser :

 <object width="640" height="360" title="video" tabindex="asdasd">
    <param name="movie" value="https://www.videosite-here.com/embed/yourVIDEOid?html5=1&amp;rel=0&amp;hl=en_US&amp;version=3" / <param name="allowFullScreen" value="true">
    <param name="allowscriptaccess" value="always"/>
    <embed width="640" height="360" src="https://www.videosite-here.com/embed/yourVIDEOid?html5=1&amp;rel=0&amp;hl=en_US&amp;version=3" class="youtube-player" type="text/html" allowscriptaccess="always" allowfullscreen="true">
</object>

Demo will look like this

Enjoy !

2 How to Embed YouTube with Turned Sound Off


Replace id_of_your_youtube_video in the following code with that string.


    <div id="YouTubeVideoPlayerSoundTurnedOff"></div>

   

    <script async src="https://www.youtube.com/iframe_api"></script>

    <script>

     function onYouTubeIframeAPIReady() {

      var player;

      player = new YT.Player('muteYouTubeVideoPlayer', {

        videoId: 'id_of_your_youtube_video', // YouTube Video ID

        width: 430,               // Player width (in px)

        height: 300,              // Player height (in px)

        playerVars: {

          autoplay: 1,        // Auto-play the video on load

          controls: 1,        // Show pause/play buttons in player

          showinfo: 0,        // Hide the video title

          modestbranding: 1,  // Hide the Youtube Logo

          loop: 1,            // Run the video in a loop

          fs: 0,              // Hide the full screen button

          cc_load_policy: 0, // Hide closed captions

          iv_load_policy: 3,  // Hide the Video Annotations

          autohide: 0         // Hide video controls when playing

        },

        events: {

          onReady: function(e) {

            e.target.mute();

          }

        }

      });

     }

   

     //    </script>


Next place that code in to your web html template , Almost Done !


Tidak ada komentar:

Posting Komentar

Ads

Ads


Download Update latest Imvu Client

Download New Version or Latest Version / Old Version IMVU client Download Center

Welcome Back !







Imvunesia @ 2016 Advertising Business About
Privacy Terms Settings Imvunesia.com
duniaimvu.com