vichan-devel / vichan

Vichan is the most popular and widely used imageboard software in the world. It is a free, light-weight, fast, highly configurable and user-friendly imageboard software package.
https://vichan.info
Other
635 stars 198 forks source link

Here's the 8chan popout code #188

Closed fatchan closed 1 year ago

fatchan commented 8 years ago

http://8ch.net/js/youtube.js "Released under the MIT license" -does that count if whoever is deving 8chan right now is not making updates public? haha

Some improvements and fixes made to it, feel free to add to vichan: https://github.com/fatchan/vichan/commit/2d7cafe78e97f4c64d5cff6b9ab35ed1d2496f3b -Fixed size so video no longer hangs off bottom and is in the same place when the image is clicked -It's already using font-awesome for the drag icon, so now the popout and unpop buttons use it -Properly matching current theme

sambuev commented 8 years ago

How to use it with vichan?

fatchan commented 8 years ago

Simply replace vichan /js/youtube.js with my /js/youtube.js https://github.com/fatchan/vichan/blob/603228ca745188ec90ddd19d32584992fda58404/js/youtube.js

sambuev commented 8 years ago

Okay, I will replace it, what is the benefits of using this script? Right now current vichan doesn't play videos on mobile devices, it uses flash-ebmded style and noone can play video from iOS devices. Did you fix this bug in your script?

fatchan commented 8 years ago

Not a bug but no, it hasn't been changed. Perhaps in mobile-style.js you could add a bit of jquery to get the src attribute of each video on the page, remove the video and add a link instead? I have almost 0 iphone traffic so I haven't bothered.

sambuev commented 8 years ago

Yes I have replaced it with your script, seems working okay, I can see youtube player and when I click it opens on iphone with no problem. It's good, but VIMEO links still not playing on iOS devices.

Please read this thread: https://github.com/vichan-devel/vichan/issues/189

sambuev commented 7 years ago

Do you know any other cool JS files which can be used with vichan?

ctrlcctrlv commented 7 years ago

"Released under the MIT license" -does that count if whoever is deving 8chan right now is not making updates public? haha

It does yes. If you release a file with a certain license you aren't allowed to change your mind. If they forgot to remove that header, oh well, that sucks for them but is not your problem.

ctrlcctrlv commented 7 years ago

@j147 I don't know who you are or how you got push access, but you might want to merge this.

ctrlcctrlv commented 7 years ago

@fatchan Have you tested this code with stock Vichan? I'm willing to merge it if so.

Cipherwraith commented 6 years ago

If they forgot to remove that header, oh well, that sucks for them but is not your problem.

Its released under MIT; the license is not a mistake.

PVNFU-28 commented 3 years ago

http://8ch.net/js/youtube.js now redirects to another webpage but you can find the script mentioned on the issue on the wayback machine: https://web.archive.org/web/20190729224551/http://8ch.net/js/youtube.js edit: the wayback machine seems to have autmatically modified each link in the file, took the time to revert these changes and upload the code here: https://privatebin.net/?80a06e1579ba457a#4uZ2KUNY8AjEJ3pv85zEdqwZrK1huVo3YdJw7qvuNH1U