I have a problem while using MediaElement to play video. The video isn't shown in correct orientation if its VideoProperties.Orientation is different from VideoOrientation.Normal (e.g. VideoOrientation.Rotate90). Those videos can be recorded by native camera app while holding the phone vertically. It's strange that Windows Phone native video player also has the same problem and is always locked in landscape mode (this doesn't happen with IOS or Android video player). My question is : Does Windows Phone native video player use the same API to play video like MediaElement? In that case, is it possible that that API will be updated to fix this problem in future Windows Phone update? I need to confirm those things to make a suitable workaround for this problem.
Related
I need to build an APP that would index videos (m3u8) from an API and allow to play them within the application itself. Only plugin I could make work and that seems to work in both iOS and Android is cordova-plugin-streaming-media, but has some issues with HLS streaming (https://github.com/nchutchind/cordova-plugin-streaming-media/issues/77).
Any suggestions? I would like it to support fullscreen. Tried videojs and couldn't get it to work in fullscreen within the device.
Thanks!
I'm trying to make my anime-streaming website FLV videos playable on mobile device, so I changed the technology I'm using from flash to HTML5 MP4, webM and OGG.
But while I'm surfing this site - which is using jwPlayer - from my Android device:
Here
I found that the video is working well although it is using FLV?
Can anyone explain how this could happen?
It is a feature of JWplayer. It will detect when Flash is not supported and switch to HTML5.
This is from their website:
JW Player is tested on the world’s most popular desktop browsers to
ensure the best playback experience for your viewers. From IE8 to the
latest version of Chrome, on Windows and OS X we ensure that any user
can watch your content. JW Player always selects the best playback
mode for your media behind the scenes.
http://www.jwplayer.com/products/jwplayer/html5-and-flash/
I found that the video is working well although it is using FLV ?!
Please, can anyone explain how could this happen ?
Are you saying FLV because it is Flash? Did you know Flash itself can play MP4 files anyway? Looking at the source code I see MP4 video files provided so I think they are just using Flash Player app to play MP4 files where plugin is available or else then using HTML5 for mobile etc.
Test by disabling Flash Plugin in mobile browser settings, you should now see an HTML5 player instead for handling exact same file that Flash app was playing.
So to answer : How is this Flash video playable on mobile devices [using JWPlayer]?
You have a mobile with Flash Plugin installed and you visited a page that had a video player app made with Flash to play some MP4 files. Your mobile is flash capable so it worked and you watched some MP4 file using a Flash decoder instead of an HTML5 decoder.
I'm trying to capture the video which is being played in windows media player(version 12) in windows 7. Bitblt method returns black screen for the video while all other windows(media controls, playlists etc.,) are captured successfully. So I browsed about this problem. One of the frequent answers is to disable video overlays in the player. I didn't find any overlay option available in the wmplayer. Also I unchecked
"Turn on DirectX video acceleration for wmv files"
option. Then also, I'm getting black screen only. Is there any way to capture the video content in wmplayer in windows7 ?
Won't happen. Try through DirectX hooking.
I have an mp3 file and I want to play it through the earpiece rather than the phone's speakers. Since I want the playing to happen, even when in background, I have implemented a Windows Phone Audio Play back agent. Now how can I play the audio in earpiece only?
If you use the MediaElement provided to you in the Windows Phone Toolbox you wouldn't have to implement a play back agent or decide what speaker to play it through. If you plug in your earphones the phone will direct audio coming from the MediaElement to the audio jack. This is the native behavior of MediaElement and all mobile sound components.
Can Any one help me am new in windows phone.
Play any kind of videos in windows phone 8 like (youtub,brightcove,dvidshub)
You could simply use the Youtube class to play the youtube videos from Codeplex. Have a look into this
Reference:
How to Play youtube videos in windows phone 7?
http://sviluppomobile.blogspot.com/2013/07/embed-youtube-videos-into-your-windows.html
If you want to play a normal video from your local files you could use the MediaElement. This sample could be helpful.
Hope it helps!
you can have Reference form Nokia Developer Article given here (Video Playback with MediaElement in Windows Phone).
-This article demonstrates how to play a video using the MediaElement Windows Phone control and also how to play video from remote server in the default media player using MediaPlayerLauncher.