|
-
Apr 3rd, 2008, 11:21 PM
#1
Thread Starter
Junior Member
[2008] Playing flv over the internet?
I have failed at this so far, but attempting to play a flv file over the internet into a vb.net application.
Please help...
What I have done is added the COM thing for Shockwave (FlashObj)...
FlashObj.Movie = "Link to flv file"
FlashObj.Play()
However nothing plays. Flash only says "Movie Not Loaded"
Any ideas?
-
Apr 4th, 2008, 11:20 AM
#2
Thread Starter
Junior Member
Re: [2008] Playing flv over the internet?
-
Apr 4th, 2008, 11:23 AM
#3
Re: [2008] Playing flv over the internet?
A flash movie can not play a flv file directly.
You need to create a flash video player and compile to swf first.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 4th, 2008, 11:27 AM
#4
Thread Starter
Junior Member
Re: [2008] Playing flv over the internet?
How would I pass params to it then?
-
Apr 4th, 2008, 11:30 AM
#5
Re: [2008] Playing flv over the internet?
You have your video player swf which receives the "contentPath" which is the flv location. The player swf can be added to other swf's/movies or used as only a player.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 5th, 2008, 11:49 AM
#6
Thread Starter
Junior Member
Re: [2008] Playing flv over the internet?
Ok i got that added... However I cannot pass variables to it...
Form1.player.Movie = "link-to-player.swf"
Form1.player.SetVariable("file", "link-to-file")
Form1.player.SetVariable("shownavigation", "true")
Form1.player.Play()
It loads the swf but not the movie
-
Apr 5th, 2008, 02:11 PM
#7
Re: [2008] Playing flv over the internet?
I dont see where you are setting or passing the "contentPath". contentPath is a Flash property of the location of the flv.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 5th, 2008, 10:09 PM
#8
Thread Starter
Junior Member
Re: [2008] Playing flv over the internet?
ContentPath is not allowed by the Shockwave COM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|