Capture Youtube player event in GWT app - events

I'm building an app using GWT with an embedded Youtube player. I intend to do some stuff when the video ends. How do I capture that event?
By the way, I'm using gwt2swf to embed the player.
Reference:
gwt2swf
Youtube player events

I found this project that does what I want.
http://code.google.com/p/hotforcode/
Will look into the source code to figure it out.

I'm not answering your question specifically, but seemingly this BST Player project does that (bridge a flash video player and GWT).
Hope it helps.
http://code.google.com/p/bst-player/
If it doesn't help, I believe you'll have to find out if the Flash component you are using has javascript callbacks, and capture them through GWT's javascript native invocation.

Related

Video player for xamarin forms

Hello can anyone provide me good plugin or sample for video player implementation in xamarin forms?
Req:
1) Player should have built in controller.
2) Should be able to show the video loading symbol
3) Video should have the video image with play button.
Can anyone help me pls?
This is the one that I use and it supports Video source from file as well as stream source. So far, this is the best I found for Xamarin forms.
https://components.xamarin.com/gettingstarted/video-player
Have a look at LibVLCSharp. Official VLC bindings for Xamarin/.NET.
Samples here: https://code.videolan.org/mfkl/libvlcsharp-samples
Disclaimer: I am the maintainer.

Share videos camera roll wp 8

I tired to googling that how share videos form camera roll in windows phone 8 like in Nokia video upload and facebook app. I used to try this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967563(v=vs.105).aspx
Only share picture but I want to share only videos for my app e.g. when my app show in list when share a video by camera roll of windows phone in sharing
To quote the link you included in your question:
Note that this extensibility is only available when the photo is a JPG
file.
And from my experience, I can confirm that it is not possible to register your app as a share target for a video file.
In other words, if a user tries to share a video from the camera roll or another app, there is no way to make your app appear as one of the options in that list.
Did you try using the share media task function?
Check this article out from the msdn :
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207027(v=vs.105).aspx
You can use MediaLibrary and there is already an answer for your question in this link. As said, there is no way to select existing sound media and video files through default choosers. Thank you.

Shockwave and PowerPoint

I tried finding information on the web, but could not, so I was wondering if anyone has some information:
We have made a Flash animation
We have embedded it in a PowerPoint slide
Everything is working on our side
I just want to make sure before I send it to the client that it will work if someone has no Shockwave plugin installed? In other words, does PowerPoint include the "Codec" to view the item when the PowerPoint file is generated?
I tried uninstalling my Shockwave, but for some reason I am unable to, so I am not sure how to test this.
Any ideas will be appreciated.
Thanks!
Kobus
If the playback computer doesn't have the correct plug-in, it won't be able to play the Flash animation. Flash playback doesn't use CODECs in the same sense that WMVs and other movie formats do.

Stream YouTube videos in a Windows Phone app

How do I stream YouTube videos in a Windows Phone app? I've tried using the MediaElement control and setting its Source property with the URL to a video and called the Play() method on the media element, but it didn't work. I want to create a simple video player that plays a video as it is being streamed. What kind of .NET classes do I need to work with?
YouTube does not expose its videos in a format which you can use to play them within Windows Phone applications, or any other kind of application for that matter. This is why services such as KeepVid, which provide 'hacks' for downloading YouTube videos, exist.
Please see my answer to this identical question from a few months ago over # Possible to play Youtube video in a wp7 app?

simple record and play application!

I am trying to make a simple application which will store the sound said by user , say on click of record button and will play it back to him/her , say on click of play button.
Can anyone suggest me some appropriate way to do this ??
Thanks,
Miraaj
You can use QuickTime Kit's capture APIs to record a movie of the audio, and QTMovie (from the same framework) to convert it to a more conventional format for audio files and to play back both the intermediate file and the converted file.
There used to be a QuickTime Kit Programming Guide, but it didn't cover capturing and is now gone from developer.apple.com. You should file a bug against the docs.
This answer will work in a Cocoa (Mac) app. If you meant to ask about the iPhone, you should re-tag your question, as the solution will be completely different for a Cocoa app vs. a Cocoa Touch (iPhone) app.
I used direct sound to create an entire internet phone application a few years ago. Your question is far simpler, you won't have to deal with the circular buffer as critically. Direct sound is pretty main stream and you can find a lot of help with it in forums, and it's free!

Resources