Windows App experts....HtMl5 VIDEO APP local video not working RRS feed

  • Question

  • Hi.

    I am creating  a normal HTML5 windows store app for playing  a video. when i tried to include a video from local it sows me  error of invalid file path. i have  the video in the project  folder only..pls help me to overcome the issue...

    Below is my code .. I put  the full path of the video also it doesn't work pls anyne bring  me help on this..with  any example for pllaying video from local drive in a HTML5 windows store app

    <!DOCTYPE html>
        <meta charset="utf-8" />
        <title>Html5 video</title>
        <meta name="tags" content="" />
        <meta name="keywords" content="html5 html video"/>
        <meta name="description" content="TML5 video tag demo." />
        <meta name="author" content="SARAVANA" />
        <!-- WinJS references -->
        <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
        <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
        <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>
        <!-- video references -->
        <link href="/css/default.css" rel="stylesheet" />
        <script src="/js/default.js"></script>
        <div class="html5video fragment">
            <header aria-label="Header content" role="banner">
                <button class="win-backbutton" aria-label="Back" disabled></button>
                <h1 class="titlearea win-type-ellipsis">
                    <span class="pagetitle">HTML5 Video</span>
            <section aria-label="Main content" role="main">
                            <video src="http://www.bing.com/az/hprichv/?p=Butterfly_Clipcanvas_223479_EN-US.mp4" autoplay loop controls></video>

    Thursday, July 11, 2013 10:39 AM


All replies