After making media element static, the binding in the xaml to the media element seems to not do anything anymore when navigating to the other page, but still works on the first page and whenever i go back to it, the audio works fine all over its just the UI...anyone any thoughts of what im missing? #13141
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Here's the problem. Both pages aren't using the same player. That line of code only assigns the shared media element to Here's some quick steps you can follow to make this work:
|
Beta Was this translation helpful? Give feedback.
Here's the problem. Both pages aren't using the same player. That line of code only assigns the shared media element to
mediaElement
; it doesn't actually replace the story page's media element. The slider and labels on the story page are still bound to the media element on that page, not the shared media element. That's why the labels and slider aren't updating—the story page media element isn't playing.Here's some quick steps you can follow to make this work:
SharedMediaElement
property to the story pag…