Returning and inserting html from mediawindow

  •  03-10-2008, 2:14 PM

    Returning and inserting html from mediawindow

    Hiya again.
    New problems...
    I've started my own "you-tube" server user ffmpeg and I need to make it possible to insert movies from that server using cute.
    I use the insertmedia-popup and i get the listing of files on the remote server using sockets.
    Both the upload form and the player resides on the remote server.
    Sooo...I got a nice listing of movies to insert in page and i need to return a custom link pointing to the remote player.
    I don't want to insert the movie directly in the page, but insert a link that opens a new window.
     
    How do I insert html in the editor. I want it to work like the insert-link dialog.
     
    1. select some text in editor that I want to link
    2. Mediapopup appears and I choose i flv-movie and press "insert"
    3. selected text in editor is now a link poitning to my remote player
     
     
    ...just like the inert-link...
     
    How do I return my movielink and insert it in the editor?
     
    Thanks!!
     
    /Bix
     
     
View Complete Thread