Revert "Media: Fixed documents token markup when embedded by the browser being converted to spans"

This reverts commit 42e7afafff32383d5424bdaa7a4eb2f59d8507cc.
Revert "update file entity to latest"

This reverts commit 597d522a674e52a2d5b8365f4851368af3539455.
Revert "update media to latest"

This reverts commit dffad3f0b6784d3500d6bcaa0cb0a9215c20b014.