fix(folder): copy raw video stream URL instead of player page

영상 주소 복사 결과를 /player/:id 가 아닌 실제 스트리밍 엔드포인트
/api/video/:id/file 로 변경. 공개/관리자 양쪽 모두 적용.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 18:45:37 +09:00
parent 51bf813ccc
commit 6ee089b9b7
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@
})
function copyVideoUrl(id) {
var url = location.origin + '/player/' + encodeURIComponent(id)
var url = location.origin + '/api/video/' + encodeURIComponent(id) + '/file'
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(url).then(function () {
flashToast('주소가 복사되었습니다.')