html5-video

Post-processing captured video in AS3, creating slow motion

你说的曾经没有我的故事 提交于 2019-12-06 18:16:26
I have an interesting project wherein I need to allow users to capture video of themselves with a webcam at a kiosk, after which I email them a link to their video. The trick is the resulting video needs to be a 'slow motion' version of the captured video. So for example, if someone creates a 2 minute movie, the resulting movie will be 4 minutes. I'd like to build this in Flex / AS3 if possible. I don't have issues capturing the video and storing it / generating and emailing a link, but slowing down the video is the real mind bender. I'm unsure how to approach 'batch post-processing' a set of

Difference between embed, object, and video tags?

偶尔善良 提交于 2019-12-06 15:49:25
As per my knowledge I know that the embed tag is used to embed videos from sites like youtube, object tag is for flash videos and video tags come under HTML5 . But I am curious for in depth details of these tags and as a developer which one should be used where? embed is older and was for a long time nonstandard, but tends to have more universal support. It became part of the HTML standard with HTML5. It doesn't require a plugin to be specified for the embedded content; that's up to the browser to figure out. object was added by the standard (HTML 4, if I remember correctly) as an alternative

Why isn't Safari caching mp4 files?

一曲冷凌霜 提交于 2019-12-06 15:44:59
Safari does not seem to be able to cache mp4 files. I am using web inspector on Safari 8.0 desktop and iOS 7 and 8 iPad and mp4 files of any size (I tried as small as .75MB do not seem to ever make it into the http cache. Furthermore, which I select the mp4 resource in the web inspector I see a spinner that never completes and am unable to see the request and response headers. Can someone prove me wrong and show me an example of an mp4 caching in Safari? Here are the headers I see when using Chrome (which does cache the mp4): General . .Remote Address:23.61.194.193:80 . Request URL:redacted .

How to make custom video player applicable to multiple videos?

≡放荡痞女 提交于 2019-12-06 15:30:08
I have multiple HTML videos on my page, and want to apply this custom video player to them. The thing is, this only works for the first video, and not for the second, third and fourth. I have no idea where to start. I made a fiddle of the current state: JSFiddle My Javascript /* Get Our Elements */ const player = document.querySelector('.player'); const video = player.querySelector('.viewer'); const progress = player.querySelector('.progress'); const progressBar = player.querySelector('.progress__filled'); const toggle = player.querySelector('.toggle'); const skipButtons = player

iOS - html5 - fullscreen mode - disabling scrubbing

点点圈 提交于 2019-12-06 15:17:52
问题 I have a html5 videoplayer with custom controls that I show/hide as needed. The default controls are removed via video.removeAttribute("controls"). However, when the user launches fullscreen, he gets the default iOS controls and can scrub through ads. Is there a way of disabling seeking in fullscreen mode? Thanks. 回答1: According to Apple, in fullscreen mode, they will always provide video controls: http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/Using_HTML5

Android webview black screen while playing

◇◆丶佛笑我妖孽 提交于 2019-12-06 15:08:01
问题 I'm developing an app that uses WebView to load external video (.mp4), but the page plays only audio, and the video is only "black". I've searched so much and did all possible things to try solve this problem but I failt. Can you help me? MainActivity.java -- REMOVED -- AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="topflix.topflix"> <uses-permission android:name="android.permission.INTERNET"/> <uses

Android HTML5 video is not shutdown after destroying WebView

时光毁灭记忆、已成空白 提交于 2019-12-06 13:14:24
问题 I've got an issue with WebView on Android 3.1 and higher. I have a WebView with the <video> tag in my activity and it plays without any problems. When the activity onDestroy() is called I'm calling destroy() on the WebView to stop the video. Everything works fine. The issue occurs when I press play, then switch into fullscreen, exit fullscreen and press play again. Then I destroy the Activity and WebView, but the video is still running—why? I call the callback from onShowCustomView(View view,

Autoplay video element on mobile browser

旧城冷巷雨未停 提交于 2019-12-06 11:39:50
问题 I have read that autoplay was not possible, or not advised on both iOS and Android (more on that here: no autoplay in iframe HTML5 player on mobile (Android Chrome and Firefox)?). But I was wondering if there was a way that would allow to replicate the same behavior, that is the video playing soon as the page is loaded. I have tried preloading the video, and playing it once the DOM is loaded, I tried forcing a play soon as the video can be played, none of that work, it always result in the

HTML5 video won't maximize beyond container dimensions in native full screen mode

淺唱寂寞╮ 提交于 2019-12-06 11:04:49
问题 I encountered a very interesting cross-browser HTML5/CSS issue: whenever there is an animation WITH -webkit-animation-fill-mode: both; attached to a DIV containing HTML5 video element, this video won't fill whole window in native HTML5 full-screen mode, i.e. the video size in full-screen will be limited to parent element dimensions. Description may be confusing, so I have created a simplified example: http://jsfiddle.net/7SsPa/3/embedded/result/ (note: jsFiddle does not allow full screen mode

Synchronizing multiple HTML5 videos

孤者浪人 提交于 2019-12-06 10:59:22
问题 I'm hoping to have 3 videos playing in sync, only one visible at a time with the option to toggle between them. All must be in sync with each other and an audio track (which can just be the audio track of one of the video files if that is easier). I have only read very pessimistic things about keeping a steady and synchronized frame rate across numerous media files is near impossible. The FPS supposedly shifts slightly and is uncontrollable.(?) Since I only need one visible at a time I am