You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

embedding player in a web form Created Aug 17, 2009

This thread is solved

Views: 2310     Replies: 2     Last reply Aug 17, 2009  
You must login first before you can use this feature

losersgiveup

Posts: 5

Registered:
Jul 1, 2009

embedding player in a web form

Posted: Aug 17, 2009

can any one please give me the entire code of a webform in asp.net c#, with this player embedded in it.
i didnt understand where to place the code given in the documentation. am new to this.
this is my code for page(it is content page).

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="testplayer.aspx.cs" Inherits="testplayer" Title="Test player" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

now where and what should i do?

losersgiveup

Posts: 5

Registered:
Jul 1, 2009

error: object expected.

Posted: Aug 17, 2009

Reply to: embedding player in a web form, from losersgiveup
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="testplayer.aspx.cs" Inherits="testplayer" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="~/player/flowplayer-3.1.1.min.js"></script>



<script language="JavaScript" type="text/javascript">
flowplayer("player", "~/player/flowplayer-3.1.2.swf");
</script>

</asp:Content>

gives me a blank page with an error
error: object expected.

some one please reply.

gmccomb

Posts: 746

Registered:
Apr 9, 2009

» error: object expected.

Posted: Aug 17, 2009

Reply to: error: object expected., from losersgiveup
I'm no ASP expert but you ought to be able to determine how to tackle this by viewing the source of the page that the server returns. Validate that source with how the page ought to look without dynamic publishing (that is, no ASP).