﻿// JScript File
function showMyVideo(vidFile)
{
    $("#playerContainer").flashembed
    (
        {
          src:'FlowPlayerDark.swf',
          width:720, 
          height:576
        },
        {config: 
            {  
              autoPlay: true,
              usePlayOverlay: false,
              noVideoClip: {url: 'Sorry.jpg', duration: 10},
              videoFile: vidFile,
              initialScale: 'scale',
              loop: false, 
              useNativeFullScreen: true
            }
        } 
    );
  }

function changeMyVideo(vidFile)
{
    var player = $("#playerContainer > :first")[0];
    player.DoStop();
    player.setConfig(
            {  
              autoPlay: true,
              usePlayOverlay: false,
              noVideoClip: {url: 'Sorry.jpg', duration: 10},
              videoFile: vidFile,
              initialScale: 'scale',
              loop: false, 
              useNativeFullScreen: true
            }
        );
}
