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 8678039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:36:38+00:00 2026-06-12T20:36:38+00:00

I am trying to build a web interface for Subsonic and was trying to

  • 0

I am trying to build a web interface for Subsonic and was trying to switch its default implementation of JWPlayer to Flowplayer.

I tried the default method of loading the video in both JWPlayer and Flowplayer and neither works, so I looked at the existing interface which used the below relevant code:

var player;
var position;
var maxBitRate = 1000;
var timeOffset = 0;

function init() {
    var flashvars = {
        id:"player1",
        skin:"flash/whotube.zip",
        screencolor:"000000",
        controlbar:"over",
        autostart:"false",
        bufferlength:3,
        backcolor:"EFEFEF",
        frontcolor:"000000",
        provider:"video"
    };
    var params = {
        allowfullscreen:"true",
        allowscriptaccess:"always"
    };
    var attributes = {
        id:"player1",
        name:"player1"
    };

    var width = "100%";
    var height = "85%";
    swfobject.embedSWF("flash/jw-player-5.6.swf", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);
}

function playerReady(thePlayer) {
    player = $("player1");
    player.addModelListener("TIME", "timeListener");
    play();    
}

function play() {
    var list = new Array();
    list[0] = {
        file:"http://domain.com:4040/rest/stream.view?u=username&p=password&v=1.6.0&c=appname&id=number",
        duration:9999 - timeOffset, //testing value for duration
        provider:"video"
    };
    player.sendEvent("LOAD", list);
    player.sendEvent("PLAY");
}

I can’t even same to make anything run under flowplayer. Any ideas? I am stuck at:

  1. Getting something equivalent to playerReady();
  2. Getting the video to load using:

    flowplayer.addClip({‘url’:videoURL},0);
    flowplayer.play({‘url’:videoURL},0);

Which gives me: has no method ‘addClip’ and has no method ‘play’

My JS include are for both FlowPlayer and JWPlayer:
flowplayer-3.2.11.min.js
Jquery
Prototype
swfobject
and my own JS file from which above is a snippet.

Help would be very much appreciated.

Thanks,

  • 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-06-12T20:36:39+00:00Added an answer on June 12, 2026 at 8:36 pm
    flowplayer("player", "flowplayer-3.2.15.swf", {
                clip: {
                    scaling: 'orig'
                },
                plugins: {
                    controls: null
                },
                // player events are defined directly to "root" (not inside a clip)
                onLoad: function() {
                    $f().play({url: "http://pseudo01.hddn.com/vod/demo.flowplayervod/Extremists.flv"});
                }
            });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a generic web service interface using WCF, to allow 3rd
I'm trying to use the restlet.org library to build a RESTful web interface, and
I am trying to build the interface of my WEB site using OOP. For
I am trying to build a web interface for an embedded device, that will
Hi I am a beginner web developer and am trying to build the interface
I am trying to build a web application, where I have abstracted logic in
I'm trying to build a web application that uses an SSL connection. So I
I'm trying to build a web server in node.js that will support cross-domain scripting,
I'm trying to build a Web page that has a rich text editor. Is
I am trying to build a small web application. The application is to store

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.