Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    vmm2013
    @vmm2013
    How to enable pre-roll advertisement using VAST? Please help
    Vadim Anufriev
    @va-anufriev
    @vmm2013 how i know, plugin for ad not written yet - clappr/clappr#1038
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    I am unable to play an audio file in mozilla HTTP "Content-Type" of "application/octet-stream" is not supported. is the error being logged
    can someone help me?
    Tom Jenkinson
    @tjenkinson
    Can you provide your code that creates the player? Does it work in other browsers? That doesn't sound like an audio mime type but more of a generic one you can provide the actual one to Clappr if you know what it should be
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    yes it works on other browsers
    $scope.player = new Clappr.Player({
    source: result,
    parentId: "#audio_player"
    });
    Tom Jenkinson
    @tjenkinson
    Ok can you provide the url that's getting passed to 'source'?
    Also are you using the latest version of Clappr?
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    yes my version is latest
    my source url on request returns "content-type: application/octet-stream" and "content-disposition: attachment"
    if a use a sample audio url from the internet, i get "content-type: audio/mpeg" "content-disposition: audio"
    the this sample audio plays smoothly
    Tom Jenkinson
    @tjenkinson
    Thanks what's the extension on the url? It would be good if you could provide the url so that we can debug. I think that content-disposition is meant to trigger the download dialog so it might confuse some browsers
    Vadim Anufriev
    @va-anufriev
    Hello. Tell me please how I may change player's UI? Example - show value of variable in control bar near with fullscreen-button (and/or this small icon near fullscreen-button - http://solutions.brightcove.com/bcls/brightcove-player/download-video/file-download.png). Thanks.
    if you need more control then you might need to create a plugin like https://github.com/tjenkinson/clappr-pip-plugin/blob/master/src/index.js#L57
    Vadim Anufriev
    @va-anufriev
    @tjenkinson thanks!
    am1stad
    @am1stad
    hello
    anyone know how to trigger a play event?
    Vadim Anufriev
    @va-anufriev
    @am1stad maybe this article can help - https://github.com/clappr/clappr/wiki/Our-first-plugin
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    I am playing a 6.65GB video on clappr HLS. The initial buffering time is more than 2 minutes. Is this some issue coming in clappr, or is it ok for a 2 minute buffering time for a 6.65GB video?
    Tom Jenkinson
    @tjenkinson
    Any errors in the console? Do you know the size of each of the hls segments
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    nope
    Tom Jenkinson
    @tjenkinson
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    no. the load thime in dailymotion hls wasnt that much
    *time
    is there a way to configure this in clappr options?

    $scope.player = new Clappr.Player({
    source: result,
    parentId: "#video_player"
    });

    is there some settings available in clappr options object?

    Tom Jenkinson
    @tjenkinson
    how about on cdn.clappr.io ?
    there are options yes most of them are in the readme on GitHub
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    Can you guide me as to what are the appropriate settings that i need to use
    Tom Jenkinson
    @tjenkinson
    The default settings should work fine. If it doesn't work on cdn.clappr.io then I'd suggest opening a GitHub issue
    Indrajeet Ambadekar
    @indrajeet-ambadekar
    ok
    lemme try it out once on cdn.clappr.io
    I am unable to play my video on this link
    i provide the url in source in the code snippet, and when i hit "run" nothing happens. no errors logged in console as well
    Tom Jenkinson
    @tjenkinson
    But it works on the hlsjs demo page? I'd suggest opening an issue and then someone can take a look when they have time and determine if it's a Clappr bug or not
    Vadim Anufriev
    @va-anufriev
    Hello. How I may play two video files consecutive? When first video complete, second video start playing. If possible, show me html-code on gist/pastebin.
    Tom Jenkinson
    @tjenkinson

    @vix-simplex here is an issue :)
    clappr/clappr#864

    a plugin needs writing

    Vadim Anufriev
    @va-anufriev
    @tjenkinson oh, thanks)
    Vadim Anufriev
    @va-anufriev
    Tom Jenkinson
    @tjenkinson
    nice
    but you might want to add a check if (playlist.length > 0)
    Vadim Anufriev
    @va-anufriev
    @tjenkinson yes, right. I'm updated gist.
    Vadim Anufriev
    @va-anufriev
    Hi, our company think about ad-plugin and I'm need some help. Which API disable reactions for mouse for seekbar? I need disable events for hover and click mouse.
    Tom Jenkinson
    @tjenkinson
    @vix-simplex you should be able to use chromeless: true and disableUserInteraction:true

    there is a configure function to change settings dynamically so

    player.configure({chromeless: true, disableUserInteraction: true});
    // after ad
    player.configure({chromeless: false, disableUserInteraction: false});

    should work but I've not tested this

    if you're in a plugin I think you should be able to do this.configure() instead
    Vadim Anufriev
    @va-anufriev

    @tjenkinson

    • I don't found parameter "disableUserInteraction" in clappr.js clappr.js.

    • This gist don't working how we planned - mygist. String 18 does nothing, apparently.

    • And "chromeless" not quite what need for ad-plugin - seekbar, volume, working play/pause and maybe something else should work, but a slightly different way (seekbar not-clickable, go to ad-site when click on player, etc).
      <br>I found how to make seekbar not-clickable, but I don't know how do it in through API.

      1. comment this - line media_control.js#L52
      2. comment this block - media_control.js#L421
        <br><br>
    • I see checking parameter "seekEnabled" this - media_control.js#L422
      But I until don't understand how set "seekEnabled" to false though API like this - mygist