Results 1 to 3 of 3

Thread: Flowplayer freezes

  1. #1
    Join Date
    Mar 2010
    Posts
    14

    Default Flowplayer freezes

    Hello.

    I've been trying to open a Flowplayer on Boxee on my app. It loads and show the chrome and first screen of the video. However it freezes at this point: Boxee is still responding, but the video won't go further than the first frame. Can anyone help me with it? Here's the code:

    main.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <window type="window" id="14000">
    <defaultcontrol always="true">130</defaultcontrol>
    
    <onload lang="python">
    <![CDATA[
    videoItems = mc.ListItems()
    
    videoItem = mc.ListItem( mc.ListItem.MEDIA_VIDEO_OTHER )
    videoItem.SetPath("http://localhost/test/flowplayer.php?videoUrl=http://localhost/videos/testVideo.flv")
    videoItems.append(videoItem)
    
    mc.GetPlayer().Play(videoItem)
    
    ]]>
    </onload>
    
    <controls>
    
    <!-- b:video -->
    <control type="videowindow" id="130">
    	<posx>0</posx>
    	<posy>0</posy>
    	<width>640</width>
    	<height>360</height>
    	<onleft>-</onleft>
    	<onright>-</onright>
    	<onup>-</onup>
    	<ondown>-</ondown>
    	<onnext>-</onnext>
    	<onprev>-</onprev>
    </control>
    <!-- e:video -->
    
    </controls>
    
    </window>
    flowplayer.php
    PHP Code:
    <!DOCTYPE HTML>
    <html>
    <?php $videoUrl $_GET['videoUrl']; ?>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
    <script type="text/javascript" src="jquery.min.js"></script>
    <script type="text/javascript" src="flowplayer.min.js"></script>
    <title>flowplayer-boxee adapter</title>
    </head>
    <body>
    <div id="player" style="width:640px; height:360px;"></div>
    <script>
    $f("player", "flowplayer.swf", {
        clip: {
            url: "<?php echo $videoUrl ?>",
            autoplay: true
        },
        canvas: {
            backgroundGradient: "none",
            backgroundColor: "#333333"
        }
    });
    </script>
    </body>
    </html>
    Thanks!

  2. #2
    Join Date
    Jan 2010
    Posts
    11

    Default

    Did you ever get this working? I would love to integrate flow player into Boxee. I have a site I use to watch streaming video that does it all in flowplayer, and hate having to go outside of boxee to a web browser to use it.

  3. #3
    Join Date
    Dec 2010
    Posts
    23

    Default Flowplayer

    This is strange. Im using flowplayer and it runs perfectly.

    i have a simular script but it is running rtmp and rtmpe streams.
    Maybe it has something to do with flash videos on http streams.

Similar Threads

  1. Browser api, javascript, flowplayer
    By iniweb in forum boxee applications
    Replies: 0
    Last Post: September 24th, 2011, 02:48 AM
  2. Video Freezes
    By smirch1 in forum Boxee Box help
    Replies: 1
    Last Post: May 24th, 2011, 09:03 AM
  3. Freezes at Login
    By knighthawk in forum boxee for windows help
    Replies: 2
    Last Post: March 18th, 2010, 07:03 PM
  4. Freezes on Exit
    By wiiittttt in forum boxee for windows help
    Replies: 3
    Last Post: August 24th, 2009, 09:58 AM
  5. intagrate flowplayer
    By DGMurdockIII in forum feature requests
    Replies: 3
    Last Post: October 31st, 2008, 10:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •