restruct / silverstripe-cfstreamvideo

Silverstripe Cloudfront STREAM video streaming module
0 stars 0 forks source link

When using signed urls, ThumbnailURL & poster option of player needs to use signed url as well #4

Closed micschk closed 3 years ago

micschk commented 3 years ago

See: https://developers.cloudflare.com/stream/viewing-videos/displaying-thumbnails#use-case-1-generating-a-thumbnail-on-the-fly

Using the poster query parameter in the embed URL, you can set a thumbnail to any time in your video. If signed URLs are required, you must use signed URL instead of video IDs.

Screenshot 2021-07-03 at 08 42 35
lekoala commented 3 years ago

fixed in https://github.com/restruct/silverstripe-cfstreamvideo/commit/53fa9720d82e96666f0d39456b292d2388156bf4

we cannot use ThumbnailURL provided by the api, but getPosterImageUrlFromApi method instead