[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 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."]]