html5-video

Restful-based video streaming

别等时光非礼了梦想. 提交于 2019-12-04 20:18:05
Using spring boot, I want to make RESTful-based video player. I have my .mp4 extension videos in my file browser. How can I serve these videos on the frontend side by creating a rest endpoint? I've tried this method. The video can be started or stopped. But it can not be done backwards or forwards. Can not get it to the desired minute and start. Spring Content supports video streaming out of the box. Using Spring Content for the file-system (FS) you would be able to create yourself a video store backed by the filesystem, put your video(s) in that store, and using the companion library Spring

Transparent webm video displays solid background color on Chrome for Android 68 on android 9.0

核能气质少年 提交于 2019-12-04 19:36:50
I have simple page with a webm video with transparent background. It works well on desktop. It works well on Chrome for Android version 66 on my android phone running android 9.0 too. But after upgrading to Chrome for Android version 68, the video displays solid background color. I checked the console and no error or warning found. Chrome 66: ] 2 ] 2 Chrome 68: I tested on Chrome for Android version 68 on other phones which running Android 7 and it works well. Does anyone know why this happens that and how to resolve it? I had a similar problem when webm was converted with VP8 codec. I fixed

iOS - html5 - fullscreen mode - disabling scrubbing

旧时模样 提交于 2019-12-04 19:29:45
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. According to Apple, in fullscreen mode, they will always provide video controls: http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/Device-SpecificConsiderations/Device-SpecificConsiderations.html You could always disable fullscreen

Viewing HTML5 video with captions offline

喜你入骨 提交于 2019-12-04 18:47:24
I am trying to implement an HTML5 video player for viewing local videos using a local HTML file, and I would like to have VTT captions and subtitles capability. I am currently using VideoJS for playback; however, my question is not implementation specific. When I attempt to use the VTT files, I get a cross-origin error saying that the files cannot be used. (This depends on the browser though, as IE 10 seems to play just fine while Firefox and Chrome throw the error.) I would like to have a cross-browser way of doing this, and I would be interested in any solutions/work arounds that anyone has

Android HTML5 video is not shutdown after destroying WebView

雨燕双飞 提交于 2019-12-04 18:44:22
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, CustomViewCallback callback) when I return from fullscreen. The video sound stops when I open the same

HTML5 video player prevent seeking

六月ゝ 毕业季﹏ 提交于 2019-12-04 18:20:14
问题 I'm creating a series of video tutorials and would like to prevent users from seeking forward and skipping sections. I'll be using an HTML5 video player that will be used for desktop and iPad browsers. Ideally, I'd like this to work on the iPhone as well, but I realize you have no control over the video on the phone since it uses the iPhone video player. How can I prevent users from seeking forward on an HTML5 video player? 回答1: Another example for Video.js: videojs('example_video_1').ready

Partial-screen WebView with <video> cut in half

落爺英雄遲暮 提交于 2019-12-04 18:12:43
问题 I have a tablet application with a split layout - a list on the left, and a detail pane on the right. The right-hand pane is a WebView, and it contains a <video> tag. That's all working fine, except the entire right-hand side of the WebView is cut off and renders plain white. Why is it rendering this way, and how can I avoid it without inserting a huge hack? I have boiled it down to a simple test project, which I've posted on github. Here is a screenshot : http://d.pr/i/dfEh. The grey area

Hide Native Android HTML5 Video Play Button in CSS

感情迁移 提交于 2019-12-04 18:12:30
On iOS I can simply remove the play button by doing video::-webkit-media-controls-start-playback-button { display: none !important; } However, on Android (using version 7.0) I can't remove the play button when trying the following. video::-webkit-media-controls-overlay-play-button video::-webkit-media-controls video::--webkit-media-controls-play-button Here's my video element: <video autoplay muted></video> I could solve this natively, as shown here HTML5 video remove overlay play icon , but I'd prefer to do a CSS solution if possible. For reference, this is what the Android play button looks

HTML5 video from MVC3 action not working correctly

﹥>﹥吖頭↗ 提交于 2019-12-04 17:54:41
I'm serving video from an MVC3 site, with the controller action that returns the video returning a FilePathResult, and when trying to play back in the browser, I'm seeing some frustrating issues, regardless of my using video.js or mediaelement.js. Chrome doesn't let you change the position using progressbar, nor does it allow you to replay the video once it has completed IE9 seems relatively fine Firefox doesn't show the elapsed/remaining time correctly However, if I just give a relative path to the file being hosted, it all works fine. The videos need to be available only to users who belong

What is a good computer vision library for Python that will allow me to me to find faces in a Flash/HTML5 video?

陌路散爱 提交于 2019-12-04 17:34:00
I need to develop a script utilizing computer vision that will: Scan all frames of an Flash/HTML5 video for people's faces Identify the video frames that shows the faces looking directly at the camera Crop the face in a perfect square Copy the cropped face to a .PNG file Any recommendations for a Python computer vision library that could help me develop this script? jilles de wit As jonesy said opencv is your best bet for facedetection "out of the box". To use flash video as imput you'd need something that will allow you to read .flv (flash video) files that you can connect to opencv. I haven