We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611ceee commit 383673bCopy full SHA for 383673b
packages/components/bolt-video/plugins/cue-points.js
@@ -6,7 +6,7 @@ import { getSubArray } from '../utils';
6
7
export const VideoOverlayContent = props => {
8
return (
9
- <bolt-button color="primary" url={props.url}>
+ <bolt-button color="primary" url={props.url} target={props.target}>
10
{props.text}
11
</bolt-button>
12
);
@@ -110,7 +110,12 @@ export function cuePointsPlugin(player, elem) {
110
}
111
112
ReactDOM.render(
113
- <VideoOverlayContent url={ctaUrl} text={ctaText} />,
+ <VideoOverlayContent
114
+ url={ctaUrl}
115
+ text={ctaText}
116
+ onClick={elem.pause()}
117
+ target="_blank"
118
+ />,
119
elem.overlayElement,
120
121
0 commit comments