Hi to all!
First let me thank you very much for this excellent net player!
Secondly, I have problem with TT Subtitles - FPlayer stops loading video file, when I use caption plugin.
DESC:
I use FPlayer (FP) with pseudostreaming plugin through lightHTTPD (the PHP solution - through php pseudo-streamer), I have basic html page with some text and JS (Javascript) to load FP. Everything works just great till I expand JS to load captions+content plugins.
When I refresh page the player starts loading (loading icon), but then suddenly stops and nothing happens then. I guess this causes some error/conflict in captions plugin, because when I get rid of captions plugin from JS, everything starts working again...
I use TT subtitles according to XML format used in your captions plugin tutorial. (see below part of my xml file)
If you know how to solve this problem, please let me know. Thanks in advance for any help. (I desperately need subtitles for my vids :-)
Stripped down version of my *.html file
And finally part of my *.xml TTsubtitles:
First let me thank you very much for this excellent net player!
Secondly, I have problem with TT Subtitles - FPlayer stops loading video file, when I use caption plugin.
DESC:
I use FPlayer (FP) with pseudostreaming plugin through lightHTTPD (the PHP solution - through php pseudo-streamer), I have basic html page with some text and JS (Javascript) to load FP. Everything works just great till I expand JS to load captions+content plugins.
When I refresh page the player starts loading (loading icon), but then suddenly stops and nothing happens then. I guess this causes some error/conflict in captions plugin, because when I get rid of captions plugin from JS, everything starts working again...
I use TT subtitles according to XML format used in your captions plugin tutorial. (see below part of my xml file)
If you know how to solve this problem, please let me know. Thanks in advance for any help. (I desperately need subtitles for my vids :-)
Stripped down version of my *.html file
<html>
<head>
<title></title>
<script type="text/javascript" src="player/flowplayer-3.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>
<div style="padding-left:10px;" >
<a style="display:block;text-align:center;width:525px;height:400px;" id="player">
<img src="poster.jpg" />
</a>
</div>
<script language="JavaScript">
flowplayer("player", "player/flowplayer-3.1.4.swf", {
log: { level: 'debug', filter: 'org.flowplayer.captions.*'},
// configure clip to use "lighthttpd" plugin for providing video data
clip: {
url: 'streamer.php/twod.flv',
// this is the TT file
captionUrl: 'docs/twod.xml',
provider: 'lighttpd'
},
// streaming plugins are configured normally under the plugins node
plugins: {
// the captions plugin
captions: {
url: "player/flowplayer.captions-3.1.4.swf",
// pointer to a content plugin (see below)
captionTarget: "content"
},
/*
configure a content plugin so that it
looks good for showing subtitles
*/
content: {
url:'player/flowplayer.content-3.1.0.swf',
bottom: 25,
height:40,
backgroundColor: 'transparent',
backgroundGradient: 'none',
border: 0,
textDecoration: 'outline',
style: {
body: {
fontSize: 14,
fontFamily: 'Arial',
textAlign: 'center',
color: '#ffffff'
}
}
},
// streaming plugin configuration
lighttpd: {
url: 'player/flowplayer.pseudostreaming-3.1.3.swf'
}
}
});
</script>
</body>
</html>
And finally part of my *.xml TTsubtitles:
<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1"
xmlns:tts="http://www.w3.org/2006/10/ttaf1#styling">
<head></head>
<body>
<div xml:lang="en">
<p begin="00:00:21:48" end="00:00:24:63">Guatemala is going to enter a new era</p>
</div>
</body>
</tt>