ProjectVideoController
class ProjectVideoController extendsController
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
from Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from Controller
Response
index(int$id)
Shows a list of all videos belonging to the specified project.
mixed
array
array
Details
inControllerat line21
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
inControllerat line15
protectedRedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line48
Response
index(int$id)
Shows a list of all videos belonging to the specified project.
at line91
mixed
store(StoreVideo$request)
Creates a new video associated to the specified project.
at line135
protectedarray
getDiskAttrs(Video$video)
Get the size and mime type of a video from a storage disk.
at line150
protectedarray
getRemoteAttrs(Video$video)
Get the size and mime type of a video from a remote source.