Play video on BlackBerry - blackberry

I want to play video from a URL. How do I do this?

get the url of video. If you have the vid in local file system fetch the path of it. And than open it with blackberry's default browser. The browser will automatically open it in default media player

Related

Play local video file without file extension iOS

I want to know if there is a possible way of playing a LOCAL video file which does not have an extension (eg. ".mp4") using the MPMoviePlayerViewController API.
If I try to play a video file without an extension using that API, it won't play it.
Can I possibly use the file mime-type to notify the MPMoviePlayerViewController of the file type ?
Changing the player API is not an option at the moment.

Load Youtube URL & Playing Only The Audio Of A Video File

I was wondering if there was any way to load a YouTube URL like http://www.youtube.com/watch?v=EbJtYqBYCV8 and then only playing only the audio from this video in Xcode.
Thanks!
-Petahwil

Can we play video on browserfield of blackberry

i get video url from webservice. Can we play the video on browserfield?
BrowserField bf = new BrowserField();
bf.requestContent(url);
add(bf);
When i execute in simulator. The video image display and follow a error occur that "Access violation reading from 0x00000004".
Can i check on device.? its affect any problem on my device from this error.? Pls help me.
You need to pay it through the built-in browser which automatically opens the built-in video player. Call it like this: Browser.getDefaultSession().displayPage(url);
you cannot access the video from the browser field,this is my opinion.
Just pass the video url straightly in the browser. It automatically opens the default video player and it plays the video..

how do i get the flv file path from a youtube URL

i have an swf media player
which play flv videos
but i want it to play youtube videos
so i must pass to the player flv file path
the senario is a website which i can upload videos or put a url
and i can put a youtube video URL
i am using asp.net
and i need a solution
whenever i detect a user is entering youtube video
i must convert it to flv file path to be played in the player
This post explains how to retrieve links of different qualities (FLV and more): youtube get_video not working
However, if you're just going to play the videos, it would be easiest to use Youtube's chromeless player API: http://code.google.com/apis/youtube/flash_api_reference.html
You can use a current web service which is already implemented for your project
Use www.keepvid.com to decode the url from YouTube. First go to YouTube and load a video then you copy the url in the address bar and it should show something like this:
http://chi-v48.chi.youtube.com/get_video?video_id=TvedUxLtZKQ
One thing left to do is to add .flv to the end of the url so it ends up like this:
http://chi-v48.chi.youtube.com/get_video?video_id=TvedUxLtZKQ.flv

How to play youtube videos through vlc plugin?

I'm using vlc plugin into C# Windows form application. It works fine with all media type but it can't play youtube videos through the plugin also it can be played in the main player itself. I'm using the following code :
axVLCPlugin2.playlist.add("http://www.youtube.com/watch?v=BxPtmLmqdXU");
axVLCPlugin2.playlist.play();
How the could should be to be able to play youtube videos ?
You are specifying the URL of the youtube web page, not of the video itself. You need to get the URL of the video itself and specify that. There are many web pages that allow you to extract the URL of the video, given a youtube page URL, like:
Get link to actual video

Resources