<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:mct="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
             x:Class="Odtwarzanie.MainPage">

    <ScrollView>
        <VerticalStackLayout
            Padding="30,0"
            Spacing="25">

            <!--
            <mct:MediaElement x:Name="mediaElement"
                              WidthRequest="400" HeightRequest="300"
                              ShouldLoopPlayback="False"
                              ShouldShowPlaybackControls="False"
                              Source="https://jacekmatulewski.fizyka.umk.pl/tmp/video/Lion.WMV"/>
            -->
            <mct:MediaElement x:Name="mediaElement"
                  WidthRequest="400" HeightRequest="300"
                  ShouldLoopPlayback="False"
                  ShouldShowPlaybackControls="False"
                  Source="embed://Lion.WMV"/>

            <Button x:Name="button" Text="Play/Pause" Clicked="button_Clicked" />

        </VerticalStackLayout>
    </ScrollView>

</ContentPage>
