A chrome extension luanch local app demo, at the same time, this demo can play online video with local player.
The online video include youku, tudou, youtube, etc.
power by you-get :)
- install chrome extension
# install you-get
sudo pip3 install you-get
cd play-video-locally # project root dir
make first # run this, if you are first time to build crx file, and you will get a pem file, after running this
make build # run this, if you are not first time to buid crx file
# => install crx in chrome
- modify this template file
native_hosts/org.deepin.dmovie.json_template
with your extension ID
{
"name": "org.deepin.dmovie",
"description": "play video with local app",
"path": "$HOME/.cache/play-video-locally/start",
"type": "stdio",
"allowed_origins": [
"chrome-extension://geddpfooejohhebhamibjkgkcahnkbnd/"
]
}
geddpfooejohhebhamibjkgkcahnkbnd
shuld be replaced with your true extension ID
- installation
make install
This project is a chrome extension luanching local app demo, you can do anything under it, just enjoy it ;)