+ Reply to Thread
Results 1 to 5 of 5

Thread: Creating embeddable content.

  1. #1
    taekwondokid42 is offline x10 Lieutenant taekwondokid42 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    268

    Creating embeddable content.

    I need to know how to create a file on my site that can be embedded on another site.

    I know nothing about this, so an online tutorial would be best.

  2. #2
    exemption is offline x10Hosting Member exemption is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    66

    Re: Creating embeddable content.

    A good place to learn would be w3schools.com

    BUT

    You could use a media player plugin..which you just embed the player..and upload the song to the embedded player


    I program PHP..so if you need help lemme know!


  3. #3
    taekwondokid42 is offline x10 Lieutenant taekwondokid42 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    268

    Re: Creating embeddable content.

    That's not much help, sorry.

    I need a specific tutorial. Just w3schools has about a bajillion, and I can't find the one that will specifically do that.

  4. #4
    epoclaen is offline x10Hosting Member epoclaen is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    64

    Re: Creating embeddable content.

    Any file you have can already be embedded into another website without modifying the original file.

    The caveat is that the method of embedding the file may be different depending on the file type (video, sound clip, image, java application, etc.) so unless you have something else in mind I'll assume that you mean a video file.

    When given the opportunity to embed a video into another website, the original website usually simply offers the viewer an iframe tag and tells them to copy and paste the given ifram code into their website. So if a "myVideo.avi" file that is 300 by 400 pixels in size was located in the root directory on http://yourdomain.x10hosting.com then it might tell users to embed the code:
    Code:
    <iframe height="300" width="400" src="http://yourdomain.x10hosting.com/myVideo.avi" frameborder="0" scrolling="no"></iframe>
    Similarly simplistic code snippets can be used in an <EMBED> (http://www.htmlcodetutorial.com/embe...ts/_EMBED.html) or an <OBJECT> (http://www.w3schools.com/TAGS/tag_object.asp) tag. There are other tags you can use but again which tag to use (and how to use it) depends on the file type. Check out http://w3schools.com/media/media_browsersounds.asp for many of them. The next page after that one talks more about videos and the entire section is worth a read.

  5. #5
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: Creating embeddable content.

    Alternatively, you could use the php include function which seamlessly inserts other pages into the one you want them to appear in. Without knowing what type of "file" you are trying to embed, I can't advise more than the above.

+ Reply to Thread

Similar Threads

  1. a content code needs manipulating
    By bunglebrown in forum Programming Help
    Replies: 2
    Last Post: 08-31-2008, 03:15 PM
  2. Replies: 7
    Last Post: 06-22-2008, 05:42 PM
  3. The Best Stable PHP Content management system
    By medphoenix in forum Crossfire
    Replies: 0
    Last Post: 02-01-2008, 01:06 PM
  4. Urgent help please!
    By retro-bliss in forum Free Hosting
    Replies: 2
    Last Post: 10-25-2007, 03:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers