Using VLC media Player in GWT - gwt

I have a video in .avi format which needs to be rendered in a UI developed using GWT.The video does not play in Windows Media Player but opens up smoothly in VLC media player.Is there some way to use VLC media player to render the video in the GUI without changing video format(or any other processing on the video).
Thanks,

In pure GWT it's not possible. Imagine that GWT is environment of HTML and JavaScript language so you are limited by them and your app is encapsulated what browser serve to you. However you could put Java applet that could force to run VLC.
Another way of playing movie in the browser is to use flv player or use HTML5 (like youtube), but in this solution you must convert your video file.

Related

Play sound in the WebView provided by vscode

I want to develop a plug-in to play local sound.So I make a demo for test with audio
:
<audio src="vscode-resource:/Users/asure/Documents/Projects/test/EffectMove.mp3" controls>
/Users/asure/Documents/Projects/test it's the directory where I tested it.I also tested after adding it to localResourceRoots.Below was what I get.
It seems that sound didn't load correctly while no errors can be found in console window.I was confused whether vscode disable audio related content in webview or something was wrong in my code.
Does anyone know how to play sound in the webview provided by vsocde
VSCode does not support playing sound with audio tag in WebView.
you can use web audio API instead.
and there is already an extension that plays local sound files with web audio API.
Because vscode does not support audio playback.
Actually, I just learned that we strip out ffmpeg and other media support from our release builds. This is by-design and something we will not change, but it does mean that many types of media playback will never be supported in webviews inside vscode
source: https://github.com/microsoft/vscode/issues/32540
Vscode v1.71 will support various audio codecs within a webView.
See release notes: ffmpeg support.
It includes mp3 suuport and
Vorbis
Flac
H.264
VP8
WAV
MP3
Ogg

Integrating Real Time Messaging Protocol with Wicket

I am designing my web project by Wicket. There I want to add web cam video capturing facility. I have Recorder.swf which records the video and save in rtmp and Player.swf which playback that saved video. Normally both of the swf are working well, if I open them simply by any browser. But If that two swf are added in wicket application then they are not working. But I have tested other swf, like I have played flv by media player swf file in my project. I can not able to understand what is happening! Can rtmp not be integrated with wicket? Thank you.
From what you describe, it has not much to do with Wicket.
Wicket is on server side.
If it works on some machine but does not on other, then it's most probably a problem either in the flash or on the client side (flash player).

Embedding html5 <audio> in a mobilesafari webapp. is it possible to load an image in place of the quicktime logo in the modal player?

I haven't be able to find a resource explaining if this is possible at all. The Apple documentation found here
https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html#//apple_ref/doc/uid/TP40009523-CH2-SW1
...doesn't mention such features.
I also tried embedding audio with the <embed> tag which pulls up the same modal quicktime player.
Is there a way to do this or alternatively – is there a way to play audio files in an iphone webapp without opening a modal external player?
I found a workaround for achieving this functionality by using Apple's mediafilesegmenter command line tool to prepare an mp3 for "HTTP Live Streaming" – Apple's new protocol for streaming media through HTTP.
More info here:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_29
By using the arguments
--audio-only --meta-file poster.png --meta-type picture
you can create an mp3 stream that will display the poster.png image in the external quicktime player while the audio is playing.
You can play audio inline using jPlayer, a jQuery MP3 plugin.
Demo (try on iPhone): http://happyworm.com/jPlayerLab/single-page-app/#first
I'm not aware of any such customisation ability. You could perhaps instead add a bit of script that completely hides the <audio> element, and provides alternative JavaScript interaction controls styled to your choosing.

Auto launch the video player in Android from the browser like an iPhone does

I have just created and iPhone web app, which has some x264 (mp4) video files on it. When I link directly to the file on the iPhone and the user taps the link, the video player is loaded and the video starts playing.
Using the app on an Android phone causes the browser to download the video instead of just playing it. Is there a way to force a video player to just boot up and play the video not download it?
Thanks in advance.
You should know that Android is quite strict regarding the video streams that you can stream. To be able to watch a stream a video (progressively watch and download) the video container must be correctly formatted.
There are many ways to create a container suitable for progressive streaming. You can look it up here: http://groups.google.com/group/android-beginners/browse_thread/thread/2a801ce5f71b5aaf?pli=1
I have successfully created a streamable video. Try to open it from your browser: http://students.mimuw.edu.pl/~nh209484/Video000.3gp

How do I stream video and play it?

How can I stream video data from the network and play it on an iPhone?
First, are you developing a Web app optimized for iPhone or a native application ?
In the first case, your only option is to transcode your video files to Quicktime H.264 (m4v or mp4 extension). You can use Quicktime Pro (use the export menu) or VLC (as a free alternative). Then simply add a hyperlink to the video file on your HTTP server. Make sure it presents the right content-type and stuff (read Safari Web Content Guide for iPhone OS: Configuring Your Server). That'll work for web and native apps (in a native app you would use the MPMoviePlayerController view). So can "stream" (technically called progressive download of a Quicktime movie file).
If you're talking about streaming live content (i.e. content that you produce live or transcode a live feed) there is currently no official way of doing it (as of iPhone OS 2.2). iPhone OS does not support RTSP/RTP streaming. A number of native iPhone applications (such as UStream.tv and Orb Live) have created their custom live streaming solution (most of them transfer a delayed streams with many seconds of latency over HTTP then somehow decode it on the phone using FFmpeg or other libraries).
Are you trying to stream video in your app or just streaming on your iPhone? For streaming video through an app, use the MPMoviePlayerController and pass the URL of your video to it. The MPMoviePlayerController will itself stream the video and play it for you.
If you're looking for a server based solution (with a very affordable Amazon EC2 option), be sure to check out Wowza at http://www.wowzamedia.com/advanced.php
It streams directly to iPhone/iPod Touch without a custom app.
note: I'm not affiliated with them at all... just a fan/customer.
edit: Just noticed how old this question was. :)