cordova-plugin-media3 1.1.13 → 1.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-media3",
3
- "version": "1.1.013",
3
+ "version": "1.1.015",
4
4
  "description": "Media player for Cordova using Google's media3 ExoPlayer framework",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-media3",
package/plugin.xml CHANGED
@@ -23,7 +23,7 @@
23
23
  <framework src="androidx.media3:media3-exoplayer-hls:1.2.1"/>
24
24
  <framework src="androidx.media3:media3-exoplayer-dash:1.2.1"/>
25
25
  <framework src="androidx.media3:media3-exoplayer-smoothstreaming:1.2.1"/>
26
- <!-- <framework src="androidx.media3:media3-ui:1.2.1"/> -->
26
+ <framework src="androidx.media3:media3-ui:1.2.1"/>
27
27
  <framework src="androidx.media3:media3-common:1.2.1"/>
28
28
  <framework src="androidx.media3:media3-datasource:1.2.1"/>
29
29
  <framework src="androidx.media3:media3-extractor:1.2.1"/>
@@ -743,7 +743,7 @@ public class Player {
743
743
  int format_id = Integer.parseInt(track_id);
744
744
 
745
745
  try {
746
- if (trackId == formatId) {
746
+ if (trackId == format_id) {
747
747
  // Found the target track - create selection override
748
748
  DefaultTrackSelector.Parameters.Builder parametersBuilder = trackSelector.getParameters()
749
749
  .buildUpon()