Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(videoJs): implement videoJs to story video #1068

Merged
merged 2 commits into from
Mar 15, 2022
Merged

Conversation

KatvonRivia
Copy link
Member

No description provided.

@@ -1,4 +1,12 @@
[
{
"id": "debug",
Copy link
Member Author

@KatvonRivia KatvonRivia Mar 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debug story will be removed once all video features are done, i'm splitting it up in multiple PRs :D

@KatvonRivia KatvonRivia requested a review from pwambach March 11, 2022 09:39
@KatvonRivia KatvonRivia requested a review from mrMetalWood March 14, 2022 14:47
@@ -0,0 +1,192 @@
WEBVTT blah
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blah? :D

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, the whole debug story will be deleted later. It's just for testing :D

import videojs, {VideoJsPlayerOptions} from 'video.js';
import {getStoryAssetUrl} from '../../../libs/get-story-asset-urls';

import {Language} from '../../../types/language';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to also indicate with the import that this is a type.

Suggested change
import {Language} from '../../../types/language';
import type {Language} from '../../../types/language';

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

probably doesn't work because it's an enum? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh ok, than its fine i guess 🤷 :D

@KatvonRivia KatvonRivia merged commit 9f60e2f into develop Mar 15, 2022
@KatvonRivia KatvonRivia deleted the videoJs branch March 15, 2022 08:51
KatvonRivia added a commit that referenced this pull request Mar 16, 2022
* feat(videoJs): implement videoJs to story video

* refactor(video): add poster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants