Permintaan untuk mengubah gaya trek teks atau mengubah status trek.
Jika trackId tidak cocok dengan trackId yang ada, seluruh permintaan akan gagal dan tidak ada status yang akan berubah. Anda dapat mengubah gaya trek teks meskipun tidak ada trek teks yang saat ini aktif.
Konstruktor
EditTracksInfoRequest
baru
EditTracksInfoRequest(activeTrackIds, textTrackStyle)
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eEditTracksInfoRequest\u003c/code\u003e is used to modify the style or status of text tracks in a media stream.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying active tracks using \u003ccode\u003eactiveTrackIds\u003c/code\u003e and customizing style using \u003ccode\u003etextTrackStyle\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequests can fail if provided \u003ccode\u003etrackId\u003c/code\u003e values do not match existing tracks.\u003c/p\u003e\n"],["\u003cp\u003eModifying text track style is possible even if no text track is currently active.\u003c/p\u003e\n"]]],["The `EditTracksInfoRequest` class modifies text track status or style. It accepts `activeTrackIds`, an array of track IDs to activate (or an empty array to deactivate all), and `textTrackStyle` to update the style. If `activeTrackIds` is not provided, track status is unchanged; if `textTrackStyle` isn't, the existing style is retained. Requests with invalid `trackId` will fail. A `requestId` property, which contains a number, is also part of the class.\n"],null,[]]