Giter Site home page Giter Site logo

Comments (4)

jaruba avatar jaruba commented on July 28, 2024

Check out .addPlaylist() and the vlcArgs parameter.

The options are passed as string in the same way you would of previously called them with .playlist.addWithOptions(mrl, options)

Example:

wjs().addPlaylist({
   url: [my-mrl],
   vlcArgs: [my-options]
});

This sets the options that are specific for each video item

Otherwise there are also more start-up parameters for the plugin, all work with .addPlayer() too, just use them as any other parameter in the function.

With the start-up parameters please remember to escape the parameters that have "-" in their name with quotes so JS won't error out. (ie: adjust-filter: should be called as "adjust-filter":)

from webchimera.

jaruba avatar jaruba commented on July 28, 2024

Also, if you don't need the User Interface that WebChimera Player provides, you can just use WebChimera Plugin directly and it's own API.

Embedding WebChimera Plugin
WebChimera Plugin JS API

But the player wraps all the plugin api functions in different functions as it requires additional actions in order to work correctly.

from webchimera.

RSATom avatar RSATom commented on July 28, 2024

I think this question was answered pretty well...

from webchimera.

dhirwin avatar dhirwin commented on July 28, 2024

Yes, thank you for your response...very helpful.

from webchimera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.