Convert Xaml to html5 - html

Is it possible to convert WPF XAML (containing content such as image, video, animation etc) to HTML5 so that it can be rendered using html player on any device? Is there any readymade component/tool available to accomplish it?

If you want to use your code on the web, it would be best to use silverlight in my opinion.

Related

flash to html5, How to

I have a good knowladge in web development , But in this situation, I'm trying to find the best way to convert flash site to html5 where it supports in all modern browsers and compatible with iphones and tablets,
http://www.undergroundcathedral.com/
Please do visit the above link, currently it works in flash, I want to convert it into html5,
I would be glad if any one can suggest me a way of doing it, with complete guidance tutorials, and links,
I drew lines in a html5 canvas but, couldn't find a way to make them anchors. I hope to add onmouseover event to play the sound and to pop up the image,
Suggest me the best way,
Thanks in advance :)
Google has a good service for this use called Swiffy. It is also availible as a plugin for Adobe Flash Studio, if you use it.
From as far as I know Adobe Flash CC has the ability to export, including apps built using ActionScript, into HTML5 + JS + CSS web apps. Take a look > http://tv.adobe.com/watch/creative-cloud-for-web/adobe-flash-professional-cc-overview/

HTML5 embedded in Silverlight Application

I am quite new to silverlight and I am seeking advise on embedding external html pages inside silverlight applications.
Can the contents of an external html page be integrated inside a silverlight application ?
How about features like SVG support or Socket.IO which exist in modern browsers ? If the external page is using HTML5 features, can silverlight render/process it correctly ?
Thanks,
There is no native support for rendering HTML pages in Silverlight. You can however access and manipulate DOM elements from within Silverlight. This allows you to place HTML elemnts on top of a silverlight application and by appropriately adjusting the size and position of these elements you can create the illusion of embedded HTML in simple applications.

Unity3D Html over 3D flash game

I have 3D game made in Unity3D. After some time have been spent, it works in flash correctly.
Currently i need to find a way to display HTML content over my flash.
wmode=opaque, wmode=transparent have failed, because stage3d, which unity uses to render 3d content, requires wmode=direct.
I have tried other hacks like using iframe, but this works different in all browsers(correct behaviour only under chrome with release flash player)
Now i'm thinking about get screenshot of flash stage from action script, pass this data to javascript, render this on canvas, hide flash, and move custom HTML element over this.
All this looks so sad, am i missing some important information?
if you use flash and want to render the scene in an canvas :).... better use only flash, don't do that :) .. and strange why it doesn't work for you because I often put a div above the flash content and it works.

how to hide text behind embedded Flash SWF object in HTML

I am trying display customized text behind my embedded Flash swf file on HTML. I embed using SWFObject.
The purpose is to show the custom text whenever Flash player is not installed.
This might also help with the flash illiterate web-crawlers.
thanks!
SWFObject already gives you the option to show alternative content when Flash is not installed.
http://code.google.com/p/swfobject/wiki/documentation
Look for the section "STEP 1: Embed both Flash content and alternative content using standards compliant markup"

looking for some samples to embed media player into html

I am developing some html pages which embed media player (Windows Media Player and Silverlight player, like sl12videoplayer from codeplex http://sl2videoplayer.codeplex.com/ ). I have learned how to embed players into html, by using DIV/OBJECT tags. I have proved it works technically.
My question is, I want to find and learn some samples about how to embed player within web page to have a good layout. The scenario I need to develop is some text based news page and I want to embed some players for videos (related to the news). Any reference samples which have elegant and sample layout to recommend? My confusions are like should I use tr/td, use iframe, frameset? How to set the width/height property to display video in an elegant way and extensible enough for the future?
thanks in advance,
George
I would use CSS for your layout. Look at the source code of YouTube for an example. This is exactly like laying out any other media player on a page (Flash Player, QuickTime, etc.)
Download and install the Windows SDK from msdn.microsoft.com, and then, on your harddisk, look in this directory
\Samples\multimedia\WMP\webpages\embedded
for a simple javasript example.