I am trying to embed this link into a web player so I can customize it page.
http://asx.abacast.com/996_amman-radio-32.asx
is there anyway to embed it into radio streaming web player?
The link you have posted is to an asx metadata file. These cannot be used as the source for any web player; they are for the Window Media Player to consume.
You could look inside the file. The streaming mount points noted in the file can be used as the source for an embedded Windows Media player, but this solution sucks because it will leave a blank space for platforms the don't support WMP (which is a lot).
If you are not the publisher/owner of this stream, it is generally considered to be bad form to embed it elsewhere.
Related
Just like in this question Embedding a Custom HTML5 Player on Facebook I have built a custom videojs player that I want to embed on facebook, which only accepts flash - .swf to be specific.
Now I am completely oblivious on how flash works, but I just found this repository https://github.com/Bilibili/flv.js, which seems to create a flash player in HTML. Does anybody know, if I can use this to embed my html player on Facebook?
Sorry if that question is a naive question.
(1)
It's not possible to embed a custom HTML5 player. You can embed an custom Flash player only. See my other Answer about embedding Flash-based custom players.
You need a swf file, that means you need a Flash application with code in there to load and play your video files. The swf must be uploaded to your https server.
(2)That Bilibili link is for handling files saved in flv video format (flv means FLash Video fomat).
It just converts (moves) the data to mp4 video format since they both can hold same content & where the mp4 is then decoded by browser (ie: with HTML5, not Flash plugin). That's their meaning of "...Playing Flash video with HTML5"
I have a BANK video file, and the file is confidential so they only give the link to a customer who can open it in Google chrome browser just to watch the video.
But that customer can only view it
(cant easily download it, or copy the main video link)
How to do that?
i tried but its very easy for anyone to copy the video URL how do you hide those and lock those?
You cannot. There are currently no DRM features for HTML 5 video (not that DRM features are all that effective anywhere that has implemented them).
I am trying to create a service for a project that allows javascript-based embed codes for sharing audio clips, such that the player appears on sites where it is embedded. Very much like a soundcloud clone, but on a far smaller scale and for private sharing only.
I am not sure how to go about this, but thinking of making the javascript write the HTML5 player dynamically into any page where the embed is placed, fetching the details needed to render the player into the page via JSON-P (to overcome the same origin policy) and streaming the audio clip directly from the main server. I will prefer to use the jQuery framework.
Is this the best method to go about this? I am trying to research, but I do not know how exactly to search for the information or where to start.
P.S. I also found this helpful S/O article about how soundcloud hides the URLs of the streaming media to prevent direct downloads
How has soundcloud hidden the URL of streaming audio
making the javascript write the HTML5 player dynamically into any page where the embed is placed
You can also use iframe that will load the “widget” from your server. That's how HTML5 widget is built at SoundCloud.
fetching the details needed to render the player into the page via JSON-P
You can use CORS in order to overcome same-domain policy if you'd want to render widget with JS.
As for the streaming, the basics of it can be done via some simple server configuration and serving media files from that server (nginx is probably your best bet).
I hope this helps some.
Is there any javascript library out there that can find the url to the flash video file (.flv) on current page where it has an embedded flash video player? Ex. opens collegehumor.com video link, shows flash video url.
I have been looking through codes from chrome extensions which discovers flash video links for download but no dice.
Browser extensions can look into Flash internals and monitor your HTTP activity to see where data is being pulled from, however Javascript running in the document does not have permission to read either of those.
Some Flash apps expose some of their internals to Javascript, but they need to specifically write in that functionality, and for third parties this would be documented, presumably as an API. As far as I can tell, collegehumor doesn't provide any of that.
I need to show on my site search results from the iTunes Store, including previews of audio tracks.
I could use the iTUnes search api to return JSON info with cover image, title and other info. But for previews url I have problems (like following http://a5.mzstatic.com/us/r1000/007/Music/2f/18/8c/mzm.dsmmvsnn.aac.p.m4a).
It is not direct link to file but to some streaming server (not sure it is RTSP, network sniffer shows some other). It could not be dowloaded directly by browser, flash and HTML5 players don’t support it, and it couldn't be opened even using QuickTime Player. So I haven't found any way to embed it to site web page like I do for regular audio/video links.
The only program that could open such urls is iTunes. But as far as I could see it couldn't be used as embed/object in browser/web page.
Any ideas how it could be implemented?
As far as I understand iTunes not allows previews to be played for countries with no iTunes store.
So preview plays in Itunes application and not in quick time or any other player. So such case really difficult to catch (if it will not play in itunes app it will be clear and easy to detect, but in this case not).
After using proxy or just testing from other location all become working. And could be integrated using many flash players.