mirror of
https://github.com/asapach/peerflix-server.git
synced 2026-04-25 06:35:48 +03:00
[GH-ISSUE #60] How hidden the files are not videos with somes js ? #265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mistertest on GitHub (Jan 19, 2016).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/60
Hello the team, happy good year and thank you for your great tool.
How hide the files that are not videos with somes Javascript or jquery functions ? Or there is a definite class like {torrent:file video } something like that ?
thank you.
@asapach commented on GitHub (Jan 19, 2016):
Your best bet would probably be go through each file in a torrent and filter it by extension. For example go through the
torrentsarray and then throughtorrent.filesarray and inspect thefile.nameproperty to see if it matches known video extensions, e.g..mp4@mistertest commented on GitHub (Feb 21, 2016):
Hello yes this is the idea, but jquery function for the filter and add class is not working with this angular app. I don't know the programming with angular
I want integrate a audio player directly in the view i continue my researches