پرش به مطلب اصلی

تنظیمات فضای ذخیره سازی

بروزرسانی

مولفه ها

KeyTypeRequiredInDesc
speednumberfalsebodyThe speed of moving text on the screen
fontColorenum ['#ffff00', '#dda0dd', '#800000', '#4b0082', '#ffa500', '#27ae60', '#16a085', '#af7ac5', '#e74c3c', '#66a310']falsebodyText font color
fontSizenumberfalsebodyText font size
opacityfloatfalsebodyThe transparency of the text in the player, between 0 to 1 in float
sendProtectionAlertbooleanfalsebodySend warning SMS to high-risk users
faultTolerancenumberfalsebody6
preventZoombooleanfalsebodyfalse
ipValidationbooleanfalsebodyif true you need to set your server ip to the white list
fixWatermarkbooleanfalsebodyThe possibility of fixed text across the screen
displayTextOnScreenbooleanfalsebodyPrevent to show text on screen
needInstallApplicationbooleanfalsebodyPrevent screen capture with third party application(trial version, do not use in your production)
enableBeepbooleanfalsebodyAdd additional security layer for protect sound
beepVolumefloatfalsebodyBeep volume, between 0 to 1 in float
beepIntervalnumberfalsebodyThe duration of the delay in the execution of the beep
playerPlayerfalsebodyPlayer other setting
linkLinkfalsebodyLink protection
enableActiveSessionbooleanfalsebodyPrevent to sharing links based current active session
enablePlaylistbooleanfalsebodyEnable use playlist if exist

Player

KeyTypeRequiredInDesc
themeColorstringfalsebodyPlayer theme color
offlineModebooleanfalsebodyPrevent to show video on offline mode
securityProtectionbooleanfalsebody360 degree security protection system
KeyTypeRequiredInDesc
accessWithMultiIpbooleanfalsebodyPrevent to sharing links based client ip
expireTimestringfalsebodySetting the expiration of links
curl -X 'POST' \
'https://api.vidprotect.ir/v1/storage/protect/config' \
-H 'accept: application/json' \
-H 'api_key: your_api_key' \
-H 'secret_key: your_secret_key' \
-H 'Content-Type: application/json' \
-d '{
"fontColor": "#ffff00"
}'

دریافت

مولفه ها

curl -X 'GET' \
'https://api.vidprotect.ir/v1/storage/protect/config' \
-H 'accept: application/json' \
-H 'api_key: your_api_key' \
-H 'secret_key: your_secret_key'