Partager via


src property

The address or URL of the a media resource (videoaudio) that is to be considered.

 

Syntax

object.put_src(
            string
           URL);object.get_src(
            string
          * URL);

Property values

Type: BSTR

The address or URL of a media resource.

Standards information

Remarks

This property overrides a source element if both are used in a document.

See also

currentSrc

How to use HTML5 to play video files on your webpage

How to use HTML5 to Add an Audio Player to your Webpage

Make your videos accessible with Timed Text Tracks