mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-05 05:36:17 +00:00
Update stuff, fix jassub font issue
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# react-native-omni
|
||||
# omni
|
||||
|
||||
A library to have real players on android and web. It uses VLC on android and
|
||||
videojs v10 on the web (ios not implemented yet, PR welcome)
|
||||
|
||||
+14
-14
@@ -57,26 +57,26 @@
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@expo/config-plugins": "^10.0.2",
|
||||
"@expo/config-plugins": "^57.0.3",
|
||||
"@videojs/react": "10.0.0-beta.25",
|
||||
"jassub": "^2.5.6",
|
||||
"jassub": "^2.5.7",
|
||||
"libpgs": "^0.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.10",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/react": "19.2.0",
|
||||
"nitrogen": "0.35.3",
|
||||
"react": "19.2.3",
|
||||
"react-native": "0.84.1",
|
||||
"react-native-builder-bob": "^0.40.18",
|
||||
"react-native-nitro-modules": "0.35.3",
|
||||
"typescript": "^5.8.3"
|
||||
"@biomejs/biome": "2.5.3",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/react": "19.2.17",
|
||||
"nitrogen": "0.36.1",
|
||||
"react": "19.2.7",
|
||||
"react-native": "0.86.0",
|
||||
"react-native-builder-bob": "^0.43.0",
|
||||
"react-native-nitro-modules": "0.36.1",
|
||||
"typescript": "^7.0.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "*",
|
||||
"react-native": "*",
|
||||
"react-native-nitro-modules": "*"
|
||||
"react": "19.2.7",
|
||||
"react-native": "0.86.0",
|
||||
"react-native-nitro-modules": "0.36.1"
|
||||
},
|
||||
"react-native-builder-bob": {
|
||||
"source": "src",
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ export interface VideoSrc {
|
||||
mimeType?: string;
|
||||
// header sends with xhr requests (especially useful for HLS)
|
||||
// might not be available depending on browser/platform.
|
||||
headers: Record<string, string>;
|
||||
headers: Record<string, string | undefined>;
|
||||
}
|
||||
|
||||
export interface Subtitle {
|
||||
|
||||
+1
-1
@@ -108,7 +108,7 @@ export const OmniView = ({
|
||||
hlsJs: {
|
||||
xhrSetup: (xhr: XMLHttpRequest) => {
|
||||
for (const [key, value] of Object.entries(headers)) {
|
||||
xhr.setRequestHeader(key, value);
|
||||
if (value) xhr.setRequestHeader(key, value);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
"noEmit": false,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitReturns": true,
|
||||
"noImplicitUseStrict": false,
|
||||
"noStrictGenericChecks": false,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
|
||||
Reference in New Issue
Block a user