cloudflare / cloudflare/stream-angular

How to get clicks in video

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hi,
We have a solution where we use streams like a background image without controls. We would like users to be able to click the video to navigate to another page. But it seems that the click events inside the video/iframe will not be captured outside the player. I find various EventEmitters for different purposes but i really like one for a general click inside the video.

```





```

We have tried putting a layer on top of the video, but it does not seem to make any difference on the clickevents.

Any suggestions on how to capture the clicks, or could a click event be added to the component?
Thanks in advance
Brian

Contributor guide

Open the contributing guide

Research direction

Start with the cloudflare-stream component and its embedded video/iframe behavior. Determine whether a general click event can be exposed outside the player despite the iframe boundary; done means a supported click event is available to the surrounding Angular template, or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.