Skip to content

Conversation

@leunge
Copy link
Contributor

@leunge leunge commented Aug 26, 2024

@leunge leunge changed the title issu3/8608 issue/8608 Aug 26, 2024
@leunge leunge merged commit 31d82a7 into develop Aug 26, 2024
@github-actions github-actions bot added the issue 내부 이슈 처리를 위한 PR label Aug 26, 2024
@leunge leunge deleted the issue/8608_2 branch August 26, 2024 11:29
async getVideoStream(source: string) {
const isMobile = typeof window.orientation !== 'undefined';
const isPortrait = isMobile && window.screen.orientation.type.includes('portrait');
const width = isPortrait ? this.VIDEO_HEIGHT: this.VIDEO_WIDTH;
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ·

Suggested change
const width = isPortrait ? this.VIDEO_HEIGHT: this.VIDEO_WIDTH;
const width = isPortrait ? this.VIDEO_HEIGHT : this.VIDEO_WIDTH;

async getVideoStream(source: string) {
const isMobile = typeof window.orientation !== 'undefined';
const isPortrait = isMobile && window.screen.orientation.type.includes('portrait');
const width = isPortrait ? this.VIDEO_HEIGHT: this.VIDEO_WIDTH;
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] <space-infix-ops> reported by reviewdog 🐶
Operator ':' must be spaced.

Suggested change
const width = isPortrait ? this.VIDEO_HEIGHT: this.VIDEO_WIDTH;
const width = isPortrait ? this.VIDEO_HEIGHT : this.VIDEO_WIDTH;

const isMobile = typeof window.orientation !== 'undefined';
const isPortrait = isMobile && window.screen.orientation.type.includes('portrait');
const width = isPortrait ? this.VIDEO_HEIGHT: this.VIDEO_WIDTH;
const height = isPortrait ? this.VIDEO_WIDTH: this.VIDEO_HEIGHT;
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ·

Suggested change
const height = isPortrait ? this.VIDEO_WIDTH: this.VIDEO_HEIGHT;
const height = isPortrait ? this.VIDEO_WIDTH : this.VIDEO_HEIGHT;

const isMobile = typeof window.orientation !== 'undefined';
const isPortrait = isMobile && window.screen.orientation.type.includes('portrait');
const width = isPortrait ? this.VIDEO_HEIGHT: this.VIDEO_WIDTH;
const height = isPortrait ? this.VIDEO_WIDTH: this.VIDEO_HEIGHT;
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] <space-infix-ops> reported by reviewdog 🐶
Operator ':' must be spaced.

Suggested change
const height = isPortrait ? this.VIDEO_WIDTH: this.VIDEO_HEIGHT;
const height = isPortrait ? this.VIDEO_WIDTH : this.VIDEO_HEIGHT;

if (isMobile && !window.screen.orientation.onchange) {
window.screen.orientation.onchange = reloadVideo;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ;

Suggested change
}
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

issue 내부 이슈 처리를 위한 PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants