It's general question nothing related with code. I want to know that video which i am playing is flash video or not. Are there any way we can get idea about it? Can we get idea from source code ?
Asked
Active
Viewed 38 times
2 Answers
1
Video itself is never "FLASH" (unless you are talking about SWF encoding). What's flash is the player you use for streaming.
If the tag embedding the video contains a type
attribute like application/x-shockwave-flash
or similar, then it's a flash player, or the filename is something ending in SWF (it means video encoded in SWF format), then is a video for playing on a flash player.
![](../../users/profiles/67606.webp)
Pablo Santa Cruz
- 162,219
- 30
- 224
- 277
0
You can do this with obtaining the mime-type How to find the mime type of a file in python
![](../../users/profiles/-1.webp)
Community
- 1
- 1
![](../../users/profiles/183110.webp)
John Giotta
- 15,242
- 6
- 42
- 77