St.markdown embed PDF not working for streamlit cloud

st.markdown("""
    <embed src="https://storage.googleapis.com/filename.pdf" width="100%" height="1000">
    """, unsafe_allow_html=True)

Renders in my dev. But when pushed to production, doest not render, even though inspect element tells me the object is there.

PDF size is 7MB.