Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AUR/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: jimzrt <jimzrt1@gmail.com>

pkgname=apprenticevr-bin
pkgver=1.3.4
pkgver=1.3.5
pkgrel=1
pkgdesc="A modern, cross-platform desktop application designed for managing and sideloading content onto Meta Quest devices"
arch=('x86_64' 'aarch64')
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apprenticevr",
"version": "1.3.4",
"version": "1.3.5",
"description": "An Electron application with React and TypeScript",
"main": "./out/main/index.js",
"author": "example.com",
Expand Down Expand Up @@ -56,7 +56,6 @@
"node-7z": "^3.0.0",
"node-wget-fetch": "^1.1.3",
"pingman": "^2.0.0",
"react-youtube": "^10.1.0",
"use-disposable": "^1.0.4",
"when": "^3.7.8",
"yauzl": "^3.2.0",
Expand Down
56 changes: 0 additions & 56 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions src/renderer/src/components/GameDetailsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
BroomRegular as UninstallIcon
} from '@fluentui/react-icons'
import placeholderImage from '../assets/images/game-placeholder.png'
import YouTube from 'react-youtube'

import { useGames } from '@renderer/hooks/useGames'

const useStyles = makeStyles({
Expand Down Expand Up @@ -542,16 +542,14 @@ const GameDetailsDialog: React.FC<GameDetailsDialogProps> = ({
<Spinner size="tiny" label="Searching for trailer..." />
) : videoId ? (
<div className={styles.youtubeContainer}>
<YouTube
videoId={videoId}
<iframe
src={`https://www.youtube.com/embed/${videoId}?autoplay=0`}
className={styles.youtubePlayer}
opts={{
width: '100%',
height: '100%',
playerVars: {
autoplay: 0
}
}}
title="YouTube video player"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
referrerPolicy="strict-origin-when-cross-origin"
/>
</div>
) : (
Expand Down