Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Request: How to get Video file Extension in Video Manager Under Admin Area #289

Closed
Arman143 opened this issue Dec 6, 2016 · 1 comment
Closed
Labels

Comments

@Arman143
Copy link

Arman143 commented Dec 6, 2016

HI,
i am Re-Converting my FLV Video to Mp4 with new modification that made in github i have 26,000+ FLV videos i start re-converting these videos. but i have missed up lots of video during the re-conversion process now i don't know which videos is flv and i can't watch all the videos coz its 26K videos. i want to add file extension under admin area in video manager.. see the screenshot what i want.

005fd2628c19491da358ef214116bbfe

i will check all pages and select flv and re-covert it to mp4 it will be very helpful for me..
if i delete the original FLVs then there is no option to reconvert that videos

Thanks in advance

@sakydev sakydev added the wontfix label Dec 9, 2016
@sakydev
Copy link
Contributor

sakydev commented Dec 9, 2016

That's a good suggestion but one that can cause heavy load on page. To be able to show extension like that, we'll need to fetch all video files for video and then parse to fetch extension. Doing the same process for all videos loaded in videos manager will start taking long time.

However, if you are still interested in this feature, I can guide you on how you can add this to your videos manager but we are not going to put it in ClipBucket as we have to consider users with low spec servers as well.

First update to latest development version of video_manager.html and then paste below code at around line #104

{$videoFiles = get_video_files($cbvid->get_video($video.videoid))} {foreach $videoFiles as $vfile} {$vExtension = getExt($vfile)} <span class="label {if $vExtension == 'flv'}label-danger{else}label-success{/if}">Extension : {$vExtension} </span> {break} {/foreach}

@sakydev sakydev closed this as completed Dec 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants