1

gcp 中云存储对象的签名 url 无法与 iframe 中的 google 或 microsoft doc 查看器一起使用。

<iframe id="iframe-tag" src="https://docs.google.com/viewer?url=https%3A%2F%2Fstorage.googleapis.com%2Futkarsh-video-bucket%2Fsample.docx%3FExpires%3D1579189477%26amp%3BGoogleAccessId%3Dvideo-streaming-258309%2540appspot.gserviceaccount.com%26amp%3BSignature%3Dlr4j6y7768p3Z50ttJu%252Bi3bZ1FmaesQsMySHNNO%252FA7bHJObLloFiU2VtOYaDjxXwfuvO5x1Xmd2hD1A8ZTZMpP9WGDM1Z7W1m4oWqI%252FFJHspNhYm00Hr9rdlBORpGWjGYtogfDPIbXs2v4tHDyO%252BluEVQJwZN4b0mW1bKc3q5FYbFi3cQTTf7IXE5trbymiln4coakd9R%252FIIv2Ii9a%252F%252FdtLx0KB6N5u3j1oGEoj6t%252FfONLQ7bHQ5xEDY%252F7IWPPNkErIV%252BiKPgYqNVeQ04dqUC9Z0Mzcm1LpVK%252FsUX1TPSH2Ear8vIcX9fh15znCLvOg3OewYuR5PLPmsCXOueh4cOg%253D%253D&amp;embedded=true"></iframe>

可以通过浏览器下载。

4

0 回答 0