Skip to content
Component E-Media Center
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
routes
static
.gitignore
LICENSE
README.md
app.js
childrequest.js
emcstreamer.service
log4js_configuration.json
package.json
server.js
vstream.js

README.md

emc-streamer

Backend for EMC Project (E-Media Center)

  • Retrieves url(s) of media file from Youtube, Vimeo, DailyMotion
  • Stream local videos files

Installation :

  • Git clone
  • npm install
  • modify config/default.js
  • node server.js (multi process) or node app.js

connect to : http://localhost:3000/demo

enjoy ;-)

API:

type : [yt => YouTube, dlm => DailyMotion ,vimeo => Vimeo]

  • {type]}/stream/:idVideo : Stream the video

  • {type}/play/:idVideo : Play the video /* Stream and play are the same action */

  • {type}/download/:idVideo : Download video file

  • {type}/info/:idVideo : Get name and title

  • {type}/geturl/:idVideo : Get secret-url for stream or download

  • {type}/yt/getoembed/:idVideo : Wrapper for Oembed call

  • {type}/getembed/:idVideo : Get the HTML for embed video

You can’t perform that action at this time.