Comments (6)
@floriano12 In order for this clappr plugin to work, your browsers must have Flash installed. Google Chrome has a built-in version of Flash. Other than that, I can't think of any other reasons for this plugin not to work in other browsers.
As for google analytics, please check this plugin: https://github.com/clappr/clappr#google-analytics-plugin
from clappr-rtmp-plugin.
@gfronza, this code I use for live stream, but don't work in: IE, Safari and Mozilla!
you can give me a example code for live stream ? (you can include curent time in control bar ?)
or how can put in this code current time ?
this is my script:
<script type="text/javascript" src="<?php echo $link_url; ?>player/dist/clappr.min.js"></script>
var player = new Clappr.Player({
source: "<?php echo $row['path_http']; ?>/<?php echo $_GET['v'];?>/index.m3u8",
parentId: '#player',
autoPlay: true,
hideMediaControl: true,
width: 535, height: 428,
debug: true,
poster: "<?php echo $link_url; ?>templates/assets/images/img.png",
plugins: {container: [MyPlayer]},
mediacontrol: {seekbar: "#E113D3", buttons: "#66B2FF"}
});
Thank you for any help !
from clappr-rtmp-plugin.
@floriano12 This project is only a plugin to enable RTMP playback on Clappr player. Seems like you are trying to play a HLS stream (.m3u8), this plugin cannot playback this sort of stream. Clappr has native support for HLS as well as external plugins (FlashHLS for instance). You can get a better support asking this question directly on https://github.com/clappr/clappr, ok?
from clappr-rtmp-plugin.
ok, thanks @gfronza !
But a player for RTMP you can show me please (code script) ?
Player for RTMP work on mobiles(devices) and all browser ?
Thanks again!
from clappr-rtmp-plugin.
@floriano12 RTMP requires Flash Player, which is not available on mobile devices. Your way to go is indeed HLS like you're doing. First, you need to make sure your live stream source is working. One easy way to check that is to paste your stream URL directly in Safari (for Mac ou iOS). Safari can play HLS natively. After ensuring the stream is valid, you can use it in Clappr easily.
<head>
<script type="text/javascript" src="http://cdn.clappr.io/latest/clappr.min.js"></script>
</head>
<body>
<div id="player"></div>
<script>
var player = new Clappr.Player({source: "http://your.video/index.m3u8", parentId: "#player"});
</script>
</body>
from clappr-rtmp-plugin.
@gfronza thank you for help!
I want to use claprr for RTMP, you can show me a code script player ?
Thanks!
from clappr-rtmp-plugin.
Related Issues (20)
- Your browser does not support the playback of this video HOT 2
- Super expression must either be null or a function, not undefined HOT 1
- is there anyway to stream m3u8? HOT 2
- If you try to build RTMP.swf on windows you will get stuck
- error echo when webpack flash.html
- binary must be declared in `.gitattributes`
- Browser refresh cannot continue the stream
- I am going to upgrade something in new repo, and fix some bugs when using webpack HOT 3
- Help with RTMP stream status. HOT 1
- question How can i find metadata in a video/audio using OSMF player actionscript
- Play button/function does not work after pause/stopping live video (vod is fine).
- Can not play Wowza RTMP Stream
- Unable to play a 360 video with this plugin HOT 2
- dist not packaged on npm? HOT 1
- clappr alias causes issues with case sensitive OS
- What i do wrong? HOT 4
- Unable to play RTMP HOT 1
- Your browser does not support the playback of this video. HOT 10
- scaling is stretch it's not working HOT 1
- Uncaught SyntaxError: Unexpected token export" on export default require('./src/main.js'). HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clappr-rtmp-plugin.