[Sprint/SillySheep](feat): Added ability for admins to manually transcode a video. #2237
- Closes front#2237 (closed)
- Depends on front!671 (closed)
Summary
Adding in an option for admins to retranscode a video manually.
Testing
- Log in as admin (ask if you don't have the password) - refresh.
- Get a video, or post a video
- Check the dropdown menu
- You should see retranscode as an option
- Open your browser console on the XHR/Requests tab
- Click it, check v2/admin/transcode is called and returns success.
- Non admins and not logged in should NOT see the retranscode option.
note Transcoding on sandboxes may not work, you may need to manually run the transcoder queue if its not up.
Using kubectl to gain access to the sandbox container, enter the engine dir, and run
php ./cli.php QueueRunner run --runner=Transcoder
Edited by Ben