web-view内嵌网页返回到小程序之后H5页面是否可以保留?

小程序 文章 2022-01-07 09:40 329 0 全屏看文

AI助手支持GPT4.0

web-view内嵌网页返回到小程序之后H5页面是否可以保留?Can the H5 page be retained after the web-view embedded webpage is returned to the applet?

web-view内嵌网页返回到小程序之后H5页面是否可以保留?

意思就是,假如我H5页面上写了很多业务逻辑,有播放音乐的,我在返回小程序之后想要播放的音乐不停止,还可以按照以前的逻辑来播放,比如把H5页面以一个悬浮球的形式悬浮于小程序页面,当点击悬浮球的时候再进去H5页面,整个过程播放的音乐不会中断?可以吗?

That is, if I write a lot of business logic on the H5 page and play music, the music I want to play after returning to the applet does not stop, but can also be played according to the previous logic. For example, suspend the H5 page on the applet page in the form of a suspension ball, and then enter the H5 page when clicking the suspension ball. The music played in the whole process will not be interrupted? OK?

回答:

菜虫网络:

想法很好,但是不行啊

拾忆:

不可以,那你还不如让音乐在小程序中以小程序背景音乐的方式去播放。

詠吥倣棄:主要是h5是老项目,承载了很多功能
吃鱼先生:

可以

-EOF-

AI助手支持GPT4.0