Comments (4)
Hello!
I had tried.
Surprisingly, request error disappeared after changing port number and rebooting system.
Thanks.
from vlc-simple-player.
Hey @antonysimstonlivera, can you please tell me:
- Which version of the VLC are you using
- Which platform you're in
The below code works for me and I am able to add a second video to the playlist
const VLC = require('vlc-simple-player')
const VIDEO_1 = 'http://clips.vorwaerts-gmbh.de/VfE_html5.mp4'
const VIDEO_2 = 'http://techslides.com/demos/sample-videos/small.mp4'
let player = new VLC(VIDEO_1, {
arguments: ['--fullscreen', '--no-video-title']
});
player.on('statuschange', (error, status) => {
if (error) return console.error(error)
});
setTimeout(() => {
player.request('/requests/status.json?command=in_enqueue&input=' + VIDEO_2, console.log)
}, 5000)
from vlc-simple-player.
Hello!
Using VLC media player 3.0.8 Vetinari in Ubuntu 18_0.
Thanks.
from vlc-simple-player.
Did you tried the code above?
Can you also try accessing VLC http API manually?
-
Starting vlc with
/path/to/vlc --extraintf http --http-password password --http-port 8080 http://clips.vorwaerts-gmbh.de/VfE_html5.mp4
-
Opening http://:password@localhost:8080/requests/status.json in your browser? (you may need to replace
localhost
with ip address if you run it on a different machine) -
Post here what would you get/see
from vlc-simple-player.
Related Issues (5)
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 vlc-simple-player.