Mobile view - Create index.html #960
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created index.html file for quick access to video via another device.
Description
A JSON viewer front-end to easily download video and copy descriptions for different platforms.
To acces this index.html file from another device you should run
python -m http.server 8000
command from your CMD that prompted over your RedditVideoMakerBot folder. You can change 8000 with any other port you want. After that all you need to do is learn your local IPv4 Address. To do that simply writeipconfig
to another CMD tab.You can customize your copy text from data-clipboard-text attributes or add new buttons with different texts.
Currently I noticed there is a few issue with this. You can't playback the videos, only download. Also I only tested with iOS device. And as I saw you can't Download with Chrome. download attribute for link doesn't work with Chrome&iOS. However you can use Safari.
Checklist:
Any other information (e.g how to test the changes)
Run
python -m http.server 8000
and visit ip-address:port from your mobile device.