Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 151461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:27:12+00:00 2026-05-11T09:27:12+00:00

I am trying to do an ASP.net custom control for the Flow Player flv

  • 0

I am trying to do an ASP.net custom control for the Flow Player flv player that has the swf object embedded. With Steve Orr Controls I learned that you can embed javascript files and register them so you don’t have to always add the javascript files manually. I am wondering if this holds true to SWF files.

I have been reading all over the net and I am trying to figure out if I am crazy looking for something that cant be done? Or maybe I am assuming that I can make this XXYYWW122313 URL can be useful?

I am getting the urls but when I try to show the video in the rendered < A > tags as per instructions by the flowman site. Also I have been researching the other flv players available, still the question remains on how to embed the swf flash video player and using the webresource url.

In short what I am doing is the following:

   Imports System.Web     Imports System.Web.UI     Imports System.Web.UI.WebControls     Imports System.ComponentModel <DefaultProperty('FlowPlayer'), ToolboxData('<{0}:FlowManHlp runat=server></{0}:FlowManHlp>')> _ Public Class FlowManHlp     Inherits Control      Private flowPlayerPath As String     Private flowPlayerJSPath As String        Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs)         MyBase.OnPreRender(e)          If Me.DesignMode Then Exit Sub          Dim rstype As Type = Me.GetType         Dim rsname As String = 'FlowMan_Helper.Resources.flowplayer-3.0.5.min.js'          ' Register the client resource with the page.         Dim cs As ClientScriptManager = Page.ClientScript         cs.RegisterClientScriptResource(rstype, rsname)         'cs.RegisterClientScriptResource(rstype, 'FlowMan_Helper.Resources.flowplayer-3.0.5.swf')       End Sub      Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)         Dim htmlwrite As New System.Text.StringBuilder()         htmlwrite.Append('<a href=''http://blip.tv/file/get/KimAronson-TwentySeconds73213.flv''')         htmlwrite.Append(' Style = ''display:block;width:400px;height:300px''')         htmlwrite.Append(' id=''player''></a>')          htmlwrite.Append(vbCrLf & '<script>')         htmlwrite.Append(vbCrLf & 'flowplayer(''player'', ''' & flowPlayerPath & ''' );')         htmlwrite.Append(vbCrLf & '</script>')         htmlwrite.Append(vbCrLf & '<script>')         htmlwrite.Append(vbCrLf & 'HelloWorld();')         htmlwrite.Append(vbCrLf & '</script>')          '      <script>         '   flowplayer('player', '../flowplayer-3.0.5.swf');         '</script>         writer.Write(htmlwrite.ToString())     End Sub      Private Sub FlowManHlp_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init         flowPlayerPath = Page.ClientScript.GetWebResourceUrl(Me.GetType(), 'FlowMan_Helper.Resources.flowplayer-3.0.5.swf')         flowPlayerJSPath = Page.ClientScript.GetWebResourceUrl(Me.GetType(), 'FlowMan_Helper.Resources.flowplayer-3.0.5.min.js')          flowPlayerPath = ResolveClientUrl(flowPlayerPath)      End Sub 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:27:12+00:00Added an answer on May 11, 2026 at 9:27 am

    Did you make sure you marked the embedded resource as an ‘Embedded Resource’ for the solution, so that it bundled it in with the compiled code?

    Also, switch to WebResource instead of ScriptResource.

    Google searches have a lot of tutorials too. Try Understanding ScriptResource and WebResource in ASP.NET

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 93k
  • Answers 93k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No. You will send to a known port number, but… May 11, 2026 at 6:34 pm
  • Editorial Team
    Editorial Team added an answer Use NH's meta data var meta = factory.GetClassMetadata(typeof(T)); query.Add(Expression.In(meta.IdentifierPropertyName, someListOfObjects.ToArray())); May 11, 2026 at 6:34 pm
  • Editorial Team
    Editorial Team added an answer by using web.xml: <servlet> <servlet-name>jersey-servlet</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> <init-param> <param-name>com.sun.jersey.config.property.packages</param-name> <param-value>com.foo.resources;org.bar.resources</param-value> </init-param>… May 11, 2026 at 6:34 pm

Related Questions

I am not a big fan of datasets so I use POCO to return
I have a business logic layer (the repository) which is exposed as a set
Where can I get custom libraries for ASP .Net? Specifically I am looking for
Alright let me explain my situation first: I am part of an organization that

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.