Die Zeit im aktuell wiedergegebenen Clip, an der das Ereignis ausgelöst wurde (in Sekunden). Dies ist undefined, wenn die Wiedergabe noch nicht gestartet wurde.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eMediaElementEvent\u003c/code\u003e provides data for events originating from the \u003ccode\u003eMediaElement\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the event \u003ccode\u003etype\u003c/code\u003e and optionally the \u003ccode\u003ecurrentMediaTime\u003c/code\u003e of the media playback when the event occurred.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecurrentMediaTime\u003c/code\u003e indicates the playback time in seconds and is undefined if playback hasn't begun.\u003c/p\u003e\n"]]],["The `MediaElementEvent` class handles events from the `MediaElement`. It's created using a constructor requiring a non-null `type` parameter, which corresponds to a `cast.framework.events.EventType`. An optional `currentMediaTime` parameter, representing the time in seconds of the current clip when the event occurred, is also available. The `currentMediaTime` property provides this time data; it's undefined if playback hasn't started.\n"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).MediaElementEvent \nclass static\n\nEvent data for all events forwarded from the `MediaElement`.\n\nConstructor\n\nMediaElementEvent\n\nnew\nMediaElementEvent(type, currentMediaTime)\n\n| Parameter ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| type | [cast.framework.events.EventType](/cast/docs/reference/web_receiver/cast.framework.events#.EventType) Value must not be null. |\n| currentMediaTime | Optional number |\n\nProperty\n\ncurrentMediaTime \nconstant\n\n(number or undefined)\n\nThe time in the currently-playing clip when the event was fired (in\nseconds). This is `undefined` if playback has not started yet."]]