html5-video

How to disable video/audio downloading in web pages?

本小妞迷上赌 提交于 2019-12-05 06:23:05
问题 I have a website that I put my videos/audios on it. I use HTML5 and tag to show videos. But videos/audios can be downloaded if client opens view source page and then copy the file address. How can I disable downloading these files, I just want client to see videos/hear audios in the web page. Many online video/audio services like Youtube disabled downloading videos by this way. How they did that? What is a working way to disable, or at least make this progress much harder? 回答1: Youtube

navigator.getUserMedia alternative API for iOS safari mobile browser?

牧云@^-^@ 提交于 2019-12-05 05:35:48
I know with below code will capture a image from ios 6+ safari mobile browser <input type="file" capture="camera" accept="image/*" id="cameraInput" name="cameraInput"> Is there any other way of capturing a image from safari mobile browser using html5/JS? Is there any alternative for WebRTC MediaStream API in iOS safari mobile browser? Safari does not support WebRTC yet. http://iswebrtcreadyyet.com/ To start with WebRTC on iOS, you may explore this demo https://github.com/ISBX/apprtc-ios . It't not exactly the same as you're looking for. The demo app achieves video chat. But it should be

Difference between canPlayType maybe and probably output

China☆狼群 提交于 2019-12-05 04:53:44
I am creating a Video Sniffing Framework where I have to sniff different browsers' HTML5 Video playing capability. For that I used the canPlayType() method which is giving me three possible results: the empty String (when unable to run the video) "maybe" "probably" I need to know the exact difference between "maybe" and "probably". Please let me to know if anyone can resolve my confusion. Thanks in advance. probably means that the browser can play the media type described. maybe means that the type might be playable. Usually, this is because the media type described is not specific enough to

Play a local video from iPad in an HTML 5 webpage

自作多情 提交于 2019-12-05 04:44:14
Does anyone know if you can use the HTML5 video tag to play a video from the iPad library? Something like: <source src="/local/path/video.mp4" type="video/mp4" /> Thanks for your time As far as I know, web pages don’t have access the iOS devices’ filesystems (hence the lack of support for <input type="file"> on iOS). The user doesn’t have direct access to the filesystem, so it would be odd if web pages did. There is a solution even though it is not the most convenient. You can Jailbreak your iOS device, install Cydia and download/install a web server like iFile. Then you can reference any file

Embedded video playing with multiple orientations?

馋奶兔 提交于 2019-12-05 04:14:40
问题 I want to play dailymotion and youtube videos in my UIWebView control. And I'm using following embedded html code to play and it's working fine. But as device is being rotate, it's not resetting accordingly and if I call the following code again it will start to play video from beginning. NSString* embedHTML = @"<html><head><style>body {\"background-color:transparent;color:black;\"}</style></head><body style=\"margin:0\"><embed id=\"yt\" src=\"%@\"type=\"application/x-shockwave-flash\"width=\

Fullscreen video background html5 [closed]

拥有回忆 提交于 2019-12-05 03:20:15
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 8 months ago . I've read through every post there is about html5 fullscreen video here at stackoverflow. And the best example that keeps on coming up is http://www.html5-fullscreen-video.com .. And it's a beautiful solution.. But it's missing the full description on how to implement it.. Look at the bottom of

SignalR WebRTC WebSocket is already in CLOSING or CLOSED state

谁说胖子不能爱 提交于 2019-12-05 02:48:20
I wanted to take a test run of the simplest implementation of SignalR and WebRTC. I hosted the code in https://github.com/foyzulkarim/WebRtc I made two different files "index.html" and "index1.html". In index.html I broadcasted a video file through signalr and it went very well. But when I just replace existing video file with WebCam's feed, it started getting error. After running couple of second I start getting this error "WebSocket is already in CLOSING or CLOSED state." I tried to throttle but no change, still get the error. Any idea why it might happening? Error image You can check the

How to perfectly sync two or more html5 video tags?

ぐ巨炮叔叔 提交于 2019-12-05 01:54:41
Is there any way to have two or more (preferably three) html5 < video > tags playing simultaneously and to be in perfect sync. If I have let's say three tiles of one video and I want them to appear in browser as one big video. They need to be perfectly synchronized. Without even smallest visual/vertical hint that they are tiled. Unfortunately I cannot use MediaController because it is not supported well enough. I've tried some workouts, including canvases, but I still get visual differentiation. Has anyone had any similar problem/solution? Disclaimer: I'm not a video guy, but here are some

Get current frame of video in javascript / jquery

我的梦境 提交于 2019-12-05 01:28:42
I am playing video using the html video tag. While playing video I want the current frame of the video not "currentTime" using jquery or javascript. I am able to get the current frame by doing the calculation of the fps of video and currentTime, but it is not giving the exact frame number. Any ideas how I can fix this? Please check out below demo. Only one thing is you have to assign a frameRate of video. External Js will manage all thing and you can get Frame number easily. var currentFrame = $('#currentFrame'); var video = VideoFrame({ id : 'video', frameRate: 29.97, callback : function

VideoJS doesn´t play after pause RTMP live stream

徘徊边缘 提交于 2019-12-05 01:28:28
问题 I´m using VideoJS for a live stream from Wowza server but when I pause the player and them I play again the player does not recover the stream. I need to reload the webpage to start the stream again. <video id="videoID" class="video-js vjs-default-skin vjs-big-play-centered" poster="/images/image.png" controls="controls" width="320" height="240" data-setup='{"techOrder": ["flash"]}'> <source src="rtmp://www.myhost.com:1935/live/live.stream" type="rtmp/mp4" /> </video> There are any method to