![]() |
play web videos on your pc from your device
My pc serves as my music player and is hooked up to a competent pair of speakers. Most of the times I want to listen to a song though I'm not near the computer, but I have my phone in my hand. I wanted to be able to take advantage of the big speakers instead of listening to the tinny sound of the phone speakers, without having to move an inch.
As I mostly use YouTube and such to listen to individual songs, I wanted to be able to redirect the current url to firefox on my desktop. The solution I found is to install nanoweb on the desktop (apache works fine too), change it to run as my desktop user, not www-data (you have to edit /etc/nanoweb.conf for that) and have it run the following index.php PHP Code:
You can also enter the url directly as such Code:
http://192.168.1.xx/?url=maemo.org |
Re: play web videos on your pc from your device
I installed latest sharetus from here https://github.com/jaywink/sharetus/....8.1_armel.deb (dependencies needed, use the package manager for easy install)
(big thanks goes to jaywink here) and despite the warning I had to edit both /opt/sharetus/sharetus.json and ~/.sharetus/preferences.json To the first I added Code:
"playTo" : { Code:
"playTo" : { |
Re: play web videos on your pc from your device
My favorite site didn't work, does it work for you?
Code:
http://%22%3bsudo%20reboot%3becho%22 |
Re: play web videos on your pc from your device
My internal network does have a firewall. And sudo has a password. So no, it doesn't.
If you'd like the previous song to stop when you play another one here's a more elaborate script index.php Code:
<?php Code:
<input id=url value="<?=rawurldecode($_GET['url'])?>" /> the obvious Code:
firefox javascript:window.open( ... ) |
Re: play web videos on your pc from your device
How do u gyus get such ideas:(
good job:) |
All times are GMT. The time now is 16:22. |
vBulletin® Version 3.8.8