Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6838295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:34:46+00:00 2026-05-26T23:34:46+00:00

I have a code that will allow FlowPlayer to retrieve a Javascript array and

  • 0

I have a code that will allow FlowPlayer to retrieve a Javascript array and run the video files when the user click it.

However, I have two problems:

  1. The player and the playlist was not display on the page.
  2. A error with regards to Flowplayer cannot access element.

(Just in case anyone ask, the full path of the video is http://mm.com/mmA/videoplayer/videos/591483.flv)

Below is the full code:

<%@ Page Language="C#" %>
<html dir="ltr">

<head runat="server">
<META name="WebPartPageExpansion" content="full">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled 1</title>
</head>

<body>

<form id="form1" runat="server">
</form>

</body>

</html>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>



<!--<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>-->
<script type="text/javascript" src="videoplayer/jquery.min.js"></script>
<script type="text/javascript" src="videoplayer/flowplayer-3.2.6.min.js"></script>
<script type="text/javascript" src="videoplayer/flowplayer.playlist-3.0.8.min.js"></script> 

<style>
/* player style */
/* container has a background image */

a.player {  
    display:block;
    width:500px;
    height:340px;
    text-align:center;
    color:#fff;
    text-decoration:none;
    cursor:pointer;
    background:#000 url(/img/global/gradient/h500.png) repeat-x 0 0;
    background:-moz-linear-gradient(top, rgba(55, 102, 152, 0.9), rgba(6, 6, 6, 0.9));
    -moz-box-shadow:0 0 40px rgba(100, 118, 173, 0.5);
}

a.player:hover {
    background:-moz-linear-gradient(center top, rgba(73, 122, 173, 0.898), rgba(6, 6, 6, 0.898));   
}

/* splash image */
a.player img {
    margin-top:125px;
    border:0;   
}


#player {
    float:left;     
    height:325px;
    width:425px;
}   

/* playlist style */
#playlist {
    width:312px;
    height:350px;
    overflow-y:auto;
    overflow-x:hidden;
    border:1px solid #ccc;
    padding:4px 10px 12px 10px;
    background-color:#efefef;
    margin-top:20px;
    float:left;
}

/* playlist entry */
#playlist a {
    display:block;
    width:280px;
    height:90px;
    padding:7px;
    background-color:#fff;
    border:1px solid #ccc;
    font:11px "bitstream vera sans", "lucida grande",verdana;
    text-decoration:none;
    margin-top:7px;
    color:#666;
}

/* different states of a playlist entry */
#playlist a:hover {
    background-color:#ffc;      
}

#playlist a.progress {
    background-color:#efefef;   
}

#playlist a.playing {
    border:1px solid #666;
    background-color:#ffc;  
}

#playlist a.paused {
    border:1px solid #666;
    background-color:#ffc;  
}

/* elements inside playlist entry */
#playlist a img {
    border:0;   
    float:left;
    margin-right:10px;
}

#playlist a strong {
    color:blue;     
    padding-bottom:5px;
}

#playlist a em {
    border:0;   
    float:left;
    margin-right:10px;
    background:url(/img/demos/clock.gif) no-repeat 0 50%;
    padding-left:20px;
    color:#333;
    font-style:normal;
    margin-top:10px;
}

</style>

<script type="text/javascript">

var push1 = {"url": "videoplayer/videos/591483.flv", "duration": "0.22"};
var push2 = {"url": "videoplayer/videos/581192.flv", "duration": "0.22"};
var MyList = [];

MyList.push(push1);
MyList.push(push2);


  $f("player", "http://releases.flowplayer.org/swf/flowplayer-3.1.1.swf", {
    // common clip: these properties are common to each clip in the playlist
    clip: {
      baseUrl: "http://mm.com/mmA/",
      // by default clip lasts 5 seconds
      duration: 5
    },
    // playlist with entries
    playlist: MyList,
    debug: true,
    plugins: {
      controls: {
        // you do not need full path here when the plugin
        // is in the same folder as flowplayer.swf
        url: "flowplayer.controls-3.1.1.swf",
        playlist: true,
        backgroundColor: "#aedaff",
        tooltips: {
          buttons: true,
          fullscreen: "Enter Fullscreen mode"
        }
      }
    }
  });


</script>

</head>
<body>

<table>

<tr>
<td> 

<a id="player" class="player">
<img src="http://static.flowplayer.org/img/player/btn/play_text_large.png" />
</a>

</td>
<td>


</td>
</tr>

</table>

<br clear="all" />
</body>
</html>

Appreciate any help offer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:34:47+00:00Added an answer on May 26, 2026 at 11:34 pm

    Manage to find the answer. The answer as follows (Just in case anyone need it.)

    var myplaylist = [];
    
    //... do stuff
    
    myplaylist.push("first.flv");
    
    //... do stuff
    
    myplaylist.push({url: "second.flv", duration: 60});
    
    //... do stuff
    
    $f("playerContainer", "/path/to/flowplayer-3.2.7.swf", {
      clip: {
        // common clip properties
        scaling: "fit"
      },
      playlist: myplaylist
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for some sample JavaScript code that will allow me to have
I have to code a page that will only allow users that click on
Does anyone have an example (code or a link) that will allow me to
Javascript I have code that will hide various sections in a MS CRM form
I have some Javascript code that will programmatically register an COM interop assembly by
I need code that will allow the user to do the following: Select a
I have some code that will be accessed from two threads: class Timer{ public:
I currently have some code that will produce a crash dump when my application
Does anyone have some code that will take a TimeZoneInfo field from .NET and
I have the this code that will create excel file and work sheet then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.