Skip to content

Commit

Permalink
Add video playback support for tutorial videos
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Mar 19, 2024
1 parent d9d9381 commit 0d624fd
Show file tree
Hide file tree
Showing 10 changed files with 783 additions and 5 deletions.
23 changes: 22 additions & 1 deletion DISMTools.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@
<Compile Include="Help\HelpBrowserForm.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Help\HelpVideoPlayer.Designer.vb">
<DependentUpon>HelpVideoPlayer.vb</DependentUpon>
</Compile>
<Compile Include="Help\HelpVideoPlayer.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.vb">
<SubType>Form</SubType>
</Compile>
Expand Down Expand Up @@ -696,6 +702,7 @@
<Compile Include="Utilities\DT_Utils.vb" />
<Compile Include="Utilities\ImageWatcher.vb" />
<Compile Include="Utilities\PriReader.vb" />
<Compile Include="Videos\Video.vb" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Actions\Actions.MainForm.resx">
Expand All @@ -707,6 +714,9 @@
<EmbeddedResource Include="Help\HelpBrowserForm.resx">
<DependentUpon>HelpBrowserForm.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Help\HelpVideoPlayer.resx">
<DependentUpon>HelpVideoPlayer.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.vb</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1598,6 +1608,10 @@ IF NOT EXIST scratch (
IF %25ISPREVIEW%25=="Yes" (
echo You will be running a preview release, which may not be ready for production. You may experience more bugs and less stability. Please switch to a stable release whenever possible.
)
IF NOT EXIST videos (
md videos
copy /y "$(SolutionDir)Videos\videoplay.html" "videos\videoplay_tmp.html"
)
IF %25COPY_DOCS%25=="Yes" (
echo Copying help documentation...
xcopy "$(ProjectDir)docs\*" "$(TargetDir)docs" /cehyi
Expand Down Expand Up @@ -1634,7 +1648,14 @@ IF EXIST scratch (
)
IF EXIST docs (
rd docs /s /q
)</PreBuildEvent>
)

IF EXIST videos (
rd videos /s /q
)

IF EXIST videos.xml (del videos.xml)
IF EXIST videos.xml.old (del videos.xml.old)</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
58 changes: 58 additions & 0 deletions Help/HelpVideoPlayer.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d624fd

Please sign in to comment.