we have a requirement to play a audio file once the user logs on to the Portal. If they click on Audio file we need to set the status "listened" to true. The portal is built using ASP.NET MVC 3.0.
This is to cater the requirement for disabled users or people who can't read but can listen.
if anyone has already done this before, could you pleaes guide me through how this can be achieved (architecture) please?
Thanks.
There is nothing MVC related that works with audio files. You will need to embed some kind of player into your HTML to play the audio files. Perhaps something silverlight or flash based.
Related
Reading its documentation one might think that it uses HTML5 especially if focusing on this text:
The widget uses HTML5's postMessage support to send messages back to
your website regarding videos uploaded via the widget.
In addition, when I read the "Note" where it says it loads the same JavaScript file as the IFrame Player API, I thought it really does use HTML5 as the IFrame player API do.
However, when I try the widget on a mobile device I was presented with a "You need to upgrade your Adobe Flash Player..." error. Unfortunately, both iPhone and Android devices do not support it.
So the question is, does the widget use a Adobe Flash or HTML5. If the latter, can it be controlled via settings that was not defined in the doc?
As mentioned in your question, the Youtube Upload Widget uses
HTML5's postMessage support to send messages back to your website regarding videos uploaded via the widget.
So yes it's using HTML5 for this task, but for the video capturing part, the widget uses flash and that's why in mobile or even in desktop browser with flash player disabled, you will get the message that invite you to install flash player.
For the widget parameters, there is nothing, in my knowledge at least, to force it to load a HTML5 version which, I think, didn't exist yet now.
Hope that can help.
I have a online courses with a lot of videos. These videos are in Vimeo for the app of this courses but I use flv loaded to the server in my flash version and the administrator wants to get off these flv.
Cause I don't know a bit of AS3, i can't use the vimeo api. So:
How can I display a webpage (where an html player will be running the video) in my swf? Like some kind of web object. The result, must be the video page inserted in the swf area
Please, be specific in your answer, my knowledge of coding is poor.
Thanks a lot! :)
The best way to approach this would be to setup an ExternalInterface in the Flash course that will communicate with the page. From there, Flash can call a method that is responsible for rendering an iframe embed of the Vimeo player. You'll probably have to pass both the video_id and the location where the video should be displayed (x/y in the event that it changes).
Once you have the javascript setup to render the iframe embed where you need it, you can interact with the player via the Javascript API (https://developer.vimeo.com/player/js-api). The player would essentially be rendered above the Flash (kind of like a lightbox), but will allow the control that you need.
You can also setup whatever playback controls that you need to pass from Flash to Javascript, and eventually to the iframe via the API.
Please let me know if you need any more clarification on how this can be setup.
I need some help/suggestion . I'm building a website using PHP, MySQL, HTML5, CSS and I'm stuck at a point.
I have few queries regarding Audio and Video capture from webcam using HTML5.
Is it possible to capture audio and video (Audio and Video means , audio separately, video which will record the audio too [for an example say some one is singing]) from webcam using html5 and PHP or JavaScript code and store it at local pc or in a Live servers pace where I want to ?
Also if it is not possible using html5 , can anybody please suggest a solution? May be using flash or some 3rd party application which I can use in my website with no restriction!
Can anyone help?
You can rent a server with Flash Media such as www.influxis.com and develop the capture part using flash.
HTML5 supports getUserMedia, as documented at http://dev.w3.org/2011/webrtc/editor/getusermedia.html
A good article on this (including examples that actually work, with code) is available here http://www.html5rocks.com/en/tutorials/getusermedia/intro/
I read some examples to upload videos (from the user's disk) to yotube, using an AS3 app.
http://gdata-samples.googlecode.com/svn/trunk/gdata/YouTubeApi/YouTubeApi.mxml
I need to publish (into my youtube channel) a video generated with AS3, using the user's webcam.
¿Some example or idea?
Thanks.
https://developers.google.com/youtube/v3/
Everything you need is there, good luck !
The graphic designer created a camtasia video yesterday and im just trying to upload it to our production server. When i navigate to the html page the video and screenshot of the video show without issue. When i click play the media bar shows up down the bottom but nothing will play.
Any ideas?
Thanks
It sounds like your web server may need to have the MIME types for the Flash MP4 format configured?
This article might help - MP4/FLV/SWF Flash plays on local machine, but not from server or network
Whoever manages your web server should be familiar with setting up the MIME types and can check with Adobe if you have further questions.