I'm currently working on setting up a basic webpage that will showcase the videos from my tests created with SauceLabs. Their service offers a way to embed the video using Javascript.
The webpage is being developed in ASP within Visual Studio 2010. However, I'm encountering an error when trying to access the page.
The ASP page takes in a jobID (jID) and an access code (code), which are then used in the JavaScript call.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Show Video.aspx.cs" Inherits="ResultsDisplay.Show_Video" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Test Video</title>
<script language="javascript" type="text/javascript" src="http://saucelabs.com/video-embed/<%=jID%>.js?auth=<%=code%>">
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<div id="flowerrorbox"></div>
<a
href="."
style="display:block;height:450px"
id="player">
</a>
</div>
</form>
</body>
</html>
When accessing the page, an error is thrown by Visual Studio (in a dynamic script block) indicating:
Microsoft JScript runtime error: 'flowplayer' is undefined
Despite being able to ignore this error, the webpage remains empty.
Any suggestions or insights would be greatly appreciated!
Thanks,
Gordon