how to embed PowerPoint presentation with audio on a webpage? - html5-canvas

I am building a mobile friendly website.
there I need to embed a PowerPoint presentation with an automatically playing audio file.
I used following iframe code generated by PowerPoint itself
& one suggestion from Stack overflow
<iframe src="https://onedrive.live.com/embed?resid=xxxxxxxxxxxxxxxxx;authkey=xxxxxxxxx-egw&em=2&wdAr=1.7777777777777777" width="610px" height="367px" frameborder="0">This is an embedded <a target="_blank" href="https://office.com">Microsoft Office</a> presentation, powered by <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe>
this work properly on chrome & edge.
but when i try to open it with my mobile phone (safari for iPhone) audios do not play automatically.
i have to press the button.
is there any other way i can achieve this goal?

currently PowerPoint web embed do not support audio auto play.
use a SCORM authorizing tool to convert ppt files in to a HTML package.
SCORM Software Tools

Related

Is there a way to convert PowerPoint slides to images in flutter on Windows platform?

I'm working on an application, and I need to open a Microsoft PowerPoint file, convert its slides into images, and then display each one as a background.
Is there a way to do it now in flutter/dart?

Can external multimedia files linked to pdf documents launch external applications in the macOS pdf-viewer Preview?

I have generated a beamer pdf containing a link to an external player in order to play a sound. I am opening it with the macOS pdf viewer preview and when I hover the mouse pointer over the clickable text, the location of the .wav file is shown but when I click on the text nothing happens. Here is the minimal working example:
\documentclass{beamer}
\usepackage{multimedia}
\begin{document}
\sound[externalviewer]{test}{sound.wav}
\end{document}
Macs Preview.app is known to not play nicely with the multimedia package.
I suggest to use another pdf viewer instead. For example, your code works fine with
adobe reader
skim

Is there any way to convert ppt slides to images and video using office web add-ins?

I am creating a PowerPoint Web Add-in to export all ppt slides as an image and video format, To do this, I also saw the documentation from the URL "https://learn.microsoft.com/en-us/office/dev/add-ins/powerpoint/powerpoint-add-ins". But, I am not able to find a way to do this and it is also not very helpful.
Can anyone please suggest a way to achieve this task?

Display video on asp.net form

My application is allowing users to upload videos(avi and wmv) and then those videos should be displayed on users home page. Uploaded file is saved on server and path to the file is saved in database.
What is the best way to display those videos on page?
I'm using ASP.NET forms.
Thanks
ASP.net does not have any video or media controls natively. Some people have tried the MediaPlayer control, however this is an ActiveX control so browser compatibility is a major issue. Depending on what formats you are accepting a variety of solutions from simple to complicated exist and can be broken down to two categories:
HTML5 Video
You can use the basic HTML5 Video, depending on what formats you have (avi, mp4, oog, etc.) you will need to have multiple source files for compatiblity across all browsers.
A list of compatible formats for each browser can be found here:W3 Schools HTML5 Video Tutorial
You can add runat="server" and access the properties directly. I've found adding multiple sources requires setting inner text and adding a new src tag.
Third Party Tools
These can be great for cross-browser compatibility and include FlowPlayer, Telerik's Media Player Control, jVideo and others. Solutions like FlowPlayer can fallback to Flash in the event a browser is not compatible with the format and still play. Some are free, some are not. You can wrap a control without server-side methods (FlowPlayer) into a user control depending on what you need.

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