Questions tagged [video-player]

Plays the video of different formats

Video player is a term typically used to describe computer software for playing back multimedia video files. While all video players can play both audio and video, others focus only on one media type or the other. Such players are known as either audio players or video players and often have a user interface tailored for the specific media type.

742 questions
4
votes
1 answer

SwiftUI Video player how to set url

I am trying to create a view that allows me to send a URL of the video I want to play. My view looks like this: import SwiftUI import AVKit struct PlayerView: View { var videoURL : String private let player = AVPlayer(url: URL(string:…
lascoff
  • 1,321
  • 4
  • 17
  • 35
4
votes
1 answer

YouTube video in video_player package

i started use this package: https://pub.dev/packages/video_player. But me need use this package for showing video from YouTube videos, how can i do this, cuz default ulr from YouTube not working?
sumseflut
  • 628
  • 1
  • 7
  • 9
4
votes
2 answers

Exoplayer2.x: Player.STATE_ENDED fires twice when a video ends ,how to implement exoplayer in android?

I'm using Exoplayer to play a video in a playlist. I want to auto play the next video when the current video end. To do this, I added an EventListener to my player. Here's a snippet: private val videoPlayerListener = object: Player.EventListener { …
Taslim Oseni
  • 6,086
  • 10
  • 44
  • 69
4
votes
0 answers

Flutter, Video_player - audio tracks changing - how?

Is it possible to change audio tracks in video_player, flutter? How can I do it?
tmp05
  • 41
  • 2
4
votes
1 answer

How to load video from emulator internal storage to video player in flutter

I am new to flutter. i want to create an app to load video from device storage to video player. I have used Video_player plugin and it works fine when i load video from URL or asset. but i want to load video from videos that i have in my…
ebad amini
  • 41
  • 3
4
votes
1 answer

Any package or way to view both Youtube videos and Normal Videos in a Single Video Player

I have a page on which I am playing videos from both the links, these are: Youtube URLs Normal Video URLs like Vimeo etc I have used this famous flutter package that is, video_player, and also used a very useful package which wraps the…
Alok
  • 8,452
  • 13
  • 55
  • 93
4
votes
4 answers

how to show current play time of video when using video_player plugin in flutter?

Currently using the flutter video_player plugin stream video from the given link. Issue is that I had to hide the normal video interactive interface so that user can't skip the video. Now most of the work is done, just need to know how to display…
princeoo7
  • 1,071
  • 3
  • 21
  • 44
4
votes
1 answer

How to Download Video from Online and store it local Device then play video on Flutter apps Using video player?

I want to develop a flutter application where users can download all Videos from Online by one single button and store it local Device then play those videos offline on Flutter apps Using video player? I did this by assets video. But if I use video…
4
votes
3 answers

How to stop React Player from playing when close modal?

I am using React Player npm install for React project. The video player is in a modal. How do I stop it from playing when the modal closes? Is there a ReactPlayer.stop() or a ReactPlayer.pause() type of functionality that I can add in my hideModal…
Elaine
  • 383
  • 1
  • 5
  • 10
4
votes
1 answer

How to add delay or offset to sync webvtt subtitles in html5 native video player?

My video and webvtt subtitles are not synced. Is there a JavaScript way to manage webvtt subtitle synchronization/delay/offset in html5 native player? I found this lib (https://github.com/florinn/vtt-shift) but it rewrite the webvtt file on disk.…
fnkrm
  • 498
  • 3
  • 12
4
votes
1 answer

Swift observevalueforkeypath + loadedTimeRanges only called limited times

I am trying to create a video player with AVPlayer.Videos load from youtube. I want when video current time changes, my uiSlider and my time label can update. I am using "observeValueForKeyPath" method to catch "loadedTimeRanges" status from player…
Ashley
  • 499
  • 1
  • 6
  • 15
4
votes
1 answer

Why? I can't play downloaded mp4 video file using Intent

I have to develop an application in which I am downloading a video file from an URL After downloading, I am playing it through an Intent. But every time I am getting the same message: "You can't play this video." download code: protected String…
hharry_tech
  • 952
  • 1
  • 8
  • 24
4
votes
0 answers

Set jwplayer 6.7 control bar to bottom : width issue with player control

Is it possible to stop showing the jwplayer control bar on hover and bring it to bottom, Since often times control bar is overlaying the subtitles and it is not clearly visible for example - if I want to reduce player volume and still want to see…
Hitesh
  • 4,098
  • 11
  • 44
  • 82
4
votes
1 answer

Frame Accurate Browser Launchable Video Player ...?

I have a requirement where I need to enable playback (full screen) of a h.264 MPEG4 (thanks for the correction!) video from a local network, launchable from a browser link on a Windows workstation, and be frame accurate. By frame accurate I mean…
cliftonc
  • 567
  • 4
  • 8
4
votes
1 answer

Video Class exist in two libraries

In my Monogame project I need to play a video. For this I use Video Class and VideoPlayer class. But when I start solution, VS give me this error: Error 1 The type 'Microsoft.Xna.Framework.Media.Video' exists in both 'c:\Program Files…
Dino Sauro
  • 167
  • 2
  • 2
  • 9
1 2
3
49 50