Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LibVLCSharp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Finkel
LibVLCSharp
Commits
dd065f09
Commit
dd065f09
authored
Apr 25, 2018
by
Martin Finkel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move samples to folder
parent
53776029
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
LibVLCSharp.FSharp.Sample/Program.fs
LibVLCSharp.FSharp.Sample/Program.fs
+3
-7
LibVLCSharp.sln
LibVLCSharp.sln
+7
-0
No files found.
LibVLCSharp.FSharp.Sample/Program.fs
View file @
dd065f09
// Learn more about F# at http://fsharp.org
open
System
open
System
open
LibVLCSharp
.
Shared
open
LibVLCSharp
.
Shared
open
LibVLCSharp
open
LibVLCSharp
...
@@ -10,8 +8,6 @@ let main argv =
...
@@ -10,8 +8,6 @@ let main argv =
Core
.
Initialize
()
Core
.
Initialize
()
let
instance
=
new
Instance
()
let
instance
=
new
Instance
()
let
mp
=
new
MediaPlayer
(
instance
)
let
mp
=
new
MediaPlayer
(
instance
)
let
media
=
new
Media
(
instance
,
"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4"
,
Media
.
FromType
.
FromLocation
);
mp
.
Play
(
new
Media
(
instance
,
"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4"
,
Media
.
FromType
.
FromLocation
))
|>
ignore
mp
.
Media
<-
media
mp
.
Play
()
|>
ignore
let
result
=
Console
.
ReadKey
()
let
result
=
Console
.
ReadKey
()
0
// return an integer exit code
0
\ No newline at end of file
LibVLCSharp.sln
View file @
dd065f09
...
@@ -25,6 +25,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "LibVLCSharp.FSharp.Sample",
...
@@ -25,6 +25,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "LibVLCSharp.FSharp.Sample",
EndProject
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibVLCSharp.iOS.Sample", "LibVLCSharp.iOS.Sample\LibVLCSharp.iOS.Sample.csproj", "{76840EFA-235B-46D8-8274-3240E1BBED5B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibVLCSharp.iOS.Sample", "LibVLCSharp.iOS.Sample\LibVLCSharp.iOS.Sample.csproj", "{76840EFA-235B-46D8-8274-3240E1BBED5B}"
EndProject
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{799A84A2-2161-4676-878B-5610E3586137}"
EndProject
Global
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Any CPU = Debug|Any CPU
...
@@ -183,6 +185,11 @@ Global
...
@@ -183,6 +185,11 @@ Global
GlobalSection(SolutionProperties) = preSolution
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
HideSolutionNode = FALSE
EndGlobalSection
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{00419085-4455-45D4-84A0-0A80D6174D25} = {799A84A2-2161-4676-878B-5610E3586137}
{86AF6388-68E1-42A3-A655-0A9799FF46C9} = {799A84A2-2161-4676-878B-5610E3586137}
{76840EFA-235B-46D8-8274-3240E1BBED5B} = {799A84A2-2161-4676-878B-5610E3586137}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AB1424F9-871B-444A-9278-18227672889C}
SolutionGuid = {AB1424F9-871B-444A-9278-18227672889C}
EndGlobalSection
EndGlobalSection
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment