movieplayer

Movie Player in Swift

一曲冷凌霜 提交于 2019-12-13 09:31:39
问题 I'm doing simple movie player in swift. I have player in ViewController like this. and i want it like this. Here's code import UIKit import MediaPlayer class DetailViewController: UIViewController { var moviePlayer:MPMoviePlayerController! override func viewDidLoad() { super.viewDidLoad() var url:NSURL = NSURL(string: "http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v") moviePlayer = MPMoviePlayerController(contentURL: url) moviePlayer.view.frame = CGRect(x: 16, y: -100, width: 600,

sample code MoviePlayer problem

爷,独闯天下 提交于 2019-12-07 18:41:27
问题 i have post this question before but cannot get a answer so i post it again.is about the MoviePlayer sample download from iphone developer site, when i press the Done button come with the movie player control mode, the movie was finish and exit to main view,at the same time the moviePlayBackDidFinish function have been called, however when i play the movie again, the player screen keep blinking,how to prevent this? the code i didnt make any change is completly build from the sample code

Looking for a component (.NET or COM/ActiveX) that can play AVI files in a WinForms app [closed]

二次信任 提交于 2019-12-03 22:12:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm looking for something like the Windows Media Player control that can be hosted on a form. The WMP doesn't work for me because I need a control that can play a continuously-appended playlist of AVI files in sequence, so that the transition from one file to the next happens seamlessly (i.e. without any

Looking for a component (.NET or COM/ActiveX) that can play AVI files in a WinForms app [closed]

匆匆过客 提交于 2019-12-01 00:43:34
I'm looking for something like the Windows Media Player control that can be hosted on a form. The WMP doesn't work for me because I need a control that can play a continuously-appended playlist of AVI files in sequence, so that the transition from one file to the next happens seamlessly (i.e. without any glitches or pauses in the video and audio). With WMP, there's always a delay between files of half a second or so. Does anyone know of a control (it can be either commercial or open-source) that can do this? I assume anything like this wraps DirectX, and that's OK too. You might try the

Skip to Previous AVPlayerItem on AVQueuePlayer / Play selected Item from queue

。_饼干妹妹 提交于 2019-11-27 02:45:48
问题 I am playing a Tv-show that has been sliced to different chapters on my project using an AVQueuePlayer. I also want to offer the possibility to skip to the previous/next chapter or to select a different chapter on the fly, while the AVQueuePlayer is already playing. Skipping to next Item is no problem with the advanceToNextItem provided by AVQueuePlayer, but there is nothing alike for skipping back or playing a certainitem from the queue. So I am not quite sure what would be the best approach