XML Validation
Media File Validation
Ensuring media files meet VAST specifications
mediavalidationvast
Media File Validation
Our VAST tester checks media files for compliance with VAST specifications, ensuring they are properly formatted and accessible.
What We Validate when testing media files in a VAST tag
- File Format: Ensure the media file is in a supported format (e.g., MP4, WebM, OGG)
- Accessibility: Check for proper MIME types and accessibility features
- Playback: Test the media file plays in our video ad player
How We Validate media files in a VAST tag
- Compliance Checks: Verify the media file meets all VAST requirements
- Playback: Validate that the media file plays correctly in our video ad player
Common Issues with media files in a VAST tag
- Unsupported file formats
- Missing or incorrect MIME types
- Playback issues in specific environments
Possible Results after a VAST validation test
After testing, our VAST validator provides detailed feedback on the media files' compliance if a fail is detected. This can be found within the VAST Validation Results section under the "VAST XML Summary" tab.
Our results may include the below statuses with a description;
- Failed
- No media files found
- No supported media formats found
- Pass
- Multiple or single formats available for optimal browser compatibility
Below is an example of a valid MediaFiles node structure with multiple supported formats
<MediaFiles> <MediaFile delivery="progressive" type="video/mp4" width="1920" height="1080" bitrate="2000"> <![CDATA[https://example.com/video.mp4]]> </MediaFile> <MediaFile delivery="progressive" type="video/webm" width="1920" height="1080" bitrate="1800"> <![CDATA[https://example.com/video.webm]]> </MediaFile> </MediaFiles>
Need more help?
Check out our other help articles or contact support.