How to embed a video in a tile as a Web UI in Windows8 Application C# - xaml

I am currently developing an windows 8 application using C# and XAML. In the Grouped Item Page, I need to launch a video hosted on youtube.
The video needs to play in the tile, as an itenm.
Is there any way to do this?
Thanks...

No, there is no way to play a video in a tile. Tile updates must go through the predefined tile templates, and there is only the capability to display text and images in those templates.
I recently published a blog post on working with live tiles that might also be helpful.

Related

How to use Windows.Media.Editing for Video Editing in Windows Phone 8.1?

In the latest release of Windows Phone microsoft comes with video editing feature, that provides the ability to edit the videos from the app.
I used the dll(Windows.Media.Editing) for editing videos in the app. I take help from the channel 9 video for creating basic video trimming effect. You can found channel 9 video on this link http://channel9.msdn.com/Events/Build/2014/2-555.
I searched on google but not found any code related to video editing feature like overlay text on video, apply filters effect, slow motion video and lots more as said by microsoft.
Can anyone please share code, links for editing video for Windows Phone 8.1?
Try Windows.Media.Effects. I found this the other day, which documents adding slow motion effects to a MediaCapture object. It's on the Windows Store site but applies to Windows Phone 8.1. Sorry I have not tried this code out, but there's some example code on the page and it might lead you to other resources, like stabilisation and rotation.
Try with this code
var composition = new MediaComposition();
var clip = await MediaClip.CreateFromImageFileAsync(file, TimeSpan.FromSeconds(1));
clip.VideoEffectDefinitions.Add(new VideoEffectDefinition("GrayscaleTransform.GrayscaleEffect")); composition.Clips.Add(clip);
using the GreyscaleTransform from http://code.msdn.microsoft.com/windowsapps/media-extensions-sample-7b466096/
Please note that I was not able to make this work outside the sample project because of some dependecies stuff that I don't understand

Live Streaming on WindowsPhone8

I am developing wp8 app,In that i need to play live-streaming of video.Can any one give samples or tutorials to play live streaming on wp8 app.
I followed below link but its not working
https://playerframework.codeplex.com/wikipage?title=Getting%20Started:%20WP8%20Smooth%20Streaming%20Player
Regards
chandu
You have plenty of options:
Option 1: Here is a good tutorial that explains how to implement video streaming using the Smooth Streaming Client SDK: http://mingfeiy.com/building-windows-store-apps-smooth-streaming-client-sdk-beta-2
Option 2: Another approach is to use the Player Framework for Windows 8 Metro Style Applications To summarize, this is an open source, robust video player framework for Windows 8, HTML5, Silverlight, Windows Phone and other application platforms.
Find it here: http://www.geekchamp.com/marketplace/components/media-platform-player-framework
Option 3: A Simple Windows 8 Smooth Streaming Media Player with a Slider Bar Control as in here : http://code.msdn.microsoft.com/windowsapps/A-simple-Windows-8-Smooth-ee98f63a
To summarize: This sample shows how to use Smooth Streaming Client SDK for Windows 8 to create a Windows Store application to playback Smooth Streaming content. In the sample, the MediaElement control is used to show the media content, and a slider bar control is used to control the progress. That`s is from me, just pick one of the options and you are ready to go.

How to display a Windows 8 metro style tile within an app?

Windows 8 metro style app tiles are created based on pre-defined xml templates (found here).
Is there any way to hook up to Windows' rendering of the tile to allow a tile preview within an app?
In my app I would like to offer the user a subset of the tile templates listed in the above link and let the user customize the tile content. A live preview of the customized tile rendered within my app would greatly improve the user experience.
you should look into HubTile.
I don't know any free control's right now, but Telerik and Syncfusion have HubTile control
You can't get access to real Windows tile rendering, but you can simulate it since all templates are known. It is very unlikely that Microsoft would change the way tiles are rendered and even if they do you should be able to issue app update to keep up with Microsoft.

Playing youtube/vevo videos on iOS

I've seen the Google blog article explaining the way to embed youtube videos in an iOS app. I've successfully embed videos in my iOS app. BUT, I've seen the WhoSampled app where they are able to play Vevo/youtube videos. Somehow they are able to play those videos and my app is not able to play them. (In my app, there is a blue play circle with a line through it showing that is not playable.)
How do I allow those videos to be playable?
Do I have to setup the youtube link in a specific way or is there a way I need to setup the developer key?
There is a way to get the actual video stream for a given YouTube video instead of the HTML-embedded one. See this project:
https://github.com/hellozimi/HCYoutubeParser
The problem with this approach is that it will likely violate the EULA of YouTube APIs, especially if you are releasing it in a paid application:
In addition, please remember that attempting to play a YouTube video outside of either the YouTube embedded, custom or chromeless player is strictly prohibited by the API Terms of Service.
(source: https://developers.google.com/youtube/creating_monetizable_applications)
You just have to use the iframe embed as opposed to the Flash one.

How do access native APIs with Sencha Touch?

If I wanted to create a mobile app that allows the user to take pictures with their phone, record audio notes and record video, how would I do that?
I was browsing through the Sencha Touch 2 API and while I see documentation on video and audio files, it seems like it is just providing a way for me to access files stored on the phone - not actual triggers to record, or take pictures.
Am I missing something?
How would I do what I want?
In order for Sencha Touch to have access to your phone capabilities, you need to use a product like Phone Gap
Unless there is a HTML5 api for doing those sorts of things I don't think you can do that. I know on PhoneGap there are native extensions added into that platform for access to things like microphone, camera, etc. I don't know if Sencha Touch has added any of those sorts of extensions in order for you do this.
Just thinking out of the box here, but you might be able to put Sencha javascript into a Web View from within an Android Java process. Then the Java code could expose an object in its process as an extension point to the Javascript engine for access to Camera, Microphone, what not.