VideoAnnotationController
class VideoAnnotationController 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
mixed
index(int$id)
Shows a list of all annotations of the specified video.
mixed
show(int$id)
Shows a video annotation.
Annotation
Response
Response
destroy(int$id)
Removes a video annotation.
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 line62
mixed
index(int$id)
Shows a list of all annotations of the specified video.
at line110
mixed
show(int$id)
Shows a video annotation.
at line181
Annotation
store(StoreVideoAnnotation$request)
Creates a new annotation in the specified video.
at line248
Response
update(UpdateVideoAnnotation$request)
Updates the video annotation
at line282
Response
destroy(int$id)
Removes a video annotation.