Embed YouTube video with reduced volume or mute - powerpoint

How would I change the embed code for this? I am putting a dance video in a PowerPoint, then I am providing an audio narrative describing what is happening in the video. I want the video to autoplay but at a very reduced volume (20%) or to be muted completely. The owner who gave permission could not find his original video, so I have to use his YouTube version.
Here is the YouTube's embed code:
iframe width="560" height="315" src="https://www.youtube.com/embed/yl1l4-5pU7Q" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe
I don't know JavaScript or IFrame so I cannot decipher a website that you refer me to... :-(

Related

Allow full screen in Youtube video (Joomla module)

I need to allow the full screen button in embeded youtube videos.
I have this following module but I don't know how to edit it. Can anyone help me please?
You don't need Joomla. The following HTML code worked for me.
<iframe src="https://youtube.com/embed/4liKzXo2lRM?rel=0&autoplay=1" allow="autoplay; allowfullscreen" allowfullscreen></iframe>
A video of it working: https://www.youtube.com/watch?v=RP5G2OaLpB4

About gif animation

When posting a gif animation base64-encoded using shareAsync () of FBInstantGameAPI v6.2, when posting from a PC browser, the gif animation is played and when posting from the facebook app, the gif animation is not played.
There is no difference in implementation between pc and smartphone.
Please let me know if someone know how to solve this problem.

Having to click two play buttons to start the video in google drive

I have a situation here were I got to click two play buttons on an google drive video embed
This is my code for showing the video
<iframe src="https://drive.google.com/file/d/video_id/preview" width="960" height="540" allowfullscreen="true"></iframe>
After the video is loaded it displays a video thumbnail with play button and then when I click on it, it goes to another play button with a youtube like interface.
How can I get rid of this two play button? I just need one click then video should play after.
You may want to check this thread on how to play video from Drive using JavaScript. It stated that Google provides some GET-params like export and id with google-drive to give you the ability to insert an uploaded video into a HTML5-video-tag.
$("#play").click(function() {
$("#video")[0].play();
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<button id="play" style="margin-top: 300px;">Play</button>
<video id="video" width="320" height="240" controls>
<source src="https://drive.google.com/uc?export=download&id=0B8-qLYDzDfCyRF9vOE9sWmx5YjA" type='video/mp4'>
Your browser does not support the video tag.
</video>
Check this link for additional information: Get Google drive video embed code using api

Remove middle play/pause botton from Vimeo video

I need to autoplay a Vimeo video inside my site. I removed the toolbar and all buttons from the video through my Vimeo Plus account but I can't figure out how to remove the middle Play/Pause button.
There is no setting for that on Vimeo and I can't find any hack to remove it because it is embedded inside an iframe with a different domain from my site.
<iframe src="https://player.vimeo.com/video/138579264" width="500"
height="275" frameborder="0" webkitallowfullscreen mozallowfullscreen
allowfullscreen></iframe>
So I want to know if there are some jquery player that can play a Vimeo video (https://vimeo.com/138579264) without that button.
You cannot remove the play button from our player, but since are a PRO member you can use a third-party player if you’d like: https://vimeo.com/s/adg.

Load YouTube Performantly

The way YouTube recommends you load a video is like so:
<iframe id="ytplayer" type="text/html" width="640" height="360" src="http://www.youtube.com/embed/Zhawgd0REhA" frameborder="0" allowfullscreen>
This loads the video as an iframe so they can detect iOS or other devices and deliver a swf or HTML5 player depending on what's necessary.
These snippets come from their Player API Demo. https://developers.google.com/youtube/youtube_player_demo
Unfortunately, in IE6-9 this causes serious slowdown - the browser seems to freeze up for as much as 5 seconds, even when the player is the only thing on the page and isn't set to autoplay. In addition, there's a touch of irony to this "demo" in that they aren't at all loading the player the way they recommend, and instead loading it via a custom written Google AppEngine/AppSpot app they put together - and it actually does load more performantly in the demo in IE than when one uses Google's recommended snippet.
Have others run into this? Is there a good solution?

Resources